|
5.1.94 ncols
Syntax:
ncols ( matrix_expression )
ncols ( intmat_expression )
ncols ( ideal_expression )
Type:
- int
Purpose:
- returns the number of columns of a matrix, an intmat, or the number of
given generators of the ideal, including zeros.
Note:
size( ideal) counts the number of generators
which are different from zero. (Use nrows to get the number of rows
of a given matrix or intmat.)
Example:
See
matrix;
nrows;
size.
|