CoCoA:NumCols

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)

NumCols

number of columns in a matrix

Description

This function returns the number of columns in a matrix.

Example

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

Syntax

NumCols(M):INT

Mat

NumRows

   <type>matrix</type>