Top
Back: nres
Forward: nvars
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.97 nrows

Syntax:
nrows ( matrix_expression )
nrows ( intmat_expression )
nrows ( intvec_expression )
nrows ( module_expression )
nrows ( vector_expression )
Type:
int
Purpose:
returns the number of rows of a matrix, an intmat or an intvec, resp. the minimal rank of a free module in which the given module or vector lives (the index of the last non-zero component).
Note:
Use ncols to get the number of columns of a given matrix or intmat.
Example:
 
See gen; matrix; module; ncols; vector.

Top Back: nres Forward: nvars FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.