Difference between revisions of "CoCoA:NumCols"

From ApCoCoAWiki
(pushing XML rev. 1.46, again)
 
(No difference)

Latest revision as of 10:02, 24 October 2007

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>