Files
mql5-skills/skills/mql5/references/docs/06-matrix/0365-matrix-matrix-characteristics.md
T
2026-06-23 21:47:51 +08:00

811 B

Feature methods

These methods enable the receiving of matrix features, such as:

  • number of rows
  • number of columns
  • norm
  • condition number
  • determinant
  • matrix rank
  • trace
  • spectrum
Function Action
Rows Return the number of rows in a matrix
Cols Return the number of columns in a matrix
Size Return the size of vector
Norm Return matrix or vector norm
Cond Compute the condition number of a matrix
Det Compute the determinant of a square invertible matrix
SLogDet Compute the sign and logarithm of the determinant of an matrix
Rank Return matrix rank using the Gaussian method
Trace Return the sum along diagonals of the matrix
Spectrum Compute spectrum of a matrix as the set of its eigenvalues from the product AT*A