CoCoA:NumRows

From ApCoCoAWiki

NumRows

number of rows in a matrix

Description

This function returns the number of rows in a matrix.

Example

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

Syntax

NumRows(M):INT

Mat

NumCols

   <type>matrix</type>