Matrix operations library – library MetaTrader 5
The library provides simple matrix operations: addition, subtraction, multiplication, inversion. The matrix.mqh must be placed to terminal_data_folder/MQL5/Include/. Simple example: Find the inverted matrix for matrix: F3=((F1+F2)*F2)/10-F2. F1 and F2 are 3х3 matricies. #include <Matrix.mqh> //+——————————————————————+ //| Script program start function | //+——————————————————————+ void OnStart() { //— CMatrix *F1; CMatrix *F2; CMatrix *F3; F1=new CMatrix(3,3); … Read more