Matrix.size
Returns the number of rows or columns in the square matrix. If the matrix is not square, an error will occur.
Arguments
None
Return values
Integer
number
.
Complexity
Constant
Example
Output:
3
Returns the number of rows or columns in the square matrix. If the matrix is not square, an error will occur.
None
Integer
Constant