Man
Algebra
Matrix
columns
Matrix.columns
Returns the number of columns in the matrix.
Arguments
None
Return values
Integer
number
.
Complexity
Constant
Example
"sl/algebra" useFile m: ((1.0 3.0 2.0) (1.0 2.0 3.0)) makeMatrix; m.columns print
Output:
3