up previous next
NumCols

number of columns in a matrix
Syntax
          
NumCols(M):INT

          

Description
This function returns the number of columns in a matrix.

Example
  M := Mat([[1,2,3], [4,5,6]]);
  NumCols(M);
3
-------------------------------


See Also