up previous next
NumCols

number of columns in a matrix

Syntax
NumCols(M: MAT): 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