CoCoA:NumRows

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>