- HasNan
- Transpose
- TransposeConjugate
- TriL
- TriU
- Diag
- Row
- Col
- Copy
- Compare
- CompareByDigits
- CompareEqual
- Flat
- Clip
- Reshape
- Resize
- Set
- SwapRows
- SwapCols
- Split
- Hsplit
- Vsplit
- ArgSort
- Sort
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
|