|
Transpose
Matrix transposition. Reverse or permute the axes of a matrix; returns the modified matrix.
matrix matrix::Transpose() |
Return Value
Transposed matrix.
A simple matrix transposition algorithm in MQL5:
matrix MatrixTranspose(const matrix& matrix_a)
|
MQL5 example:
matrix a= {{0, 1, 2}, {3, 4, 5}};
|
Python example:
import numpy as np
|