Matrix.rows

Returns the number of rows 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.rows print
Output:
2