Top
Back: tau_es
Forward: intmat_inverse
FastBack: Singularities
FastForward: classify_lib
Up: alexpoly_lib
Top: Singular 2-0-6 Manual
Contents: Table of Contents
Index: Index
About: About this document

D.5.1.13 delete_zero_rows

Procedure from library alexpoly.lib (see alexpoly_lib).

Usage:
delete_zero_rows(M); intmat M

Return:
intmat, deletes the rows in M which are completely zero. If M is the zero matrix, the integer zero is returned!

Example:
 
LIB "alexpoly.lib";
intmat M[5][3]=1,2,-2,0,0,0,1,0,0,0,2,1,0,0,0;
print(M);
==>      1     2    -2
==>      0     0     0
==>      1     0     0
==>      0     2     1
==>      0     0     0
print(delete_zero_rows(M));
==>      1     2    -2
==>      1     0     0
==>      0     2     1


Top Back: tau_es Forward: intmat_inverse FastBack: Singularities FastForward: classify_lib Up: alexpoly_lib Top: Singular 2-0-6 Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-0-6, November 2004, generated by texi2html.