Top
Back: delete_zero_rows
Forward: classify_lib
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.14 intmat_inverse

Procedure from library alexpoly.lib (see alexpoly_lib).

Usage:
intmat_inverse(M); intmat M

Assume:
M is a lower triangular integer matrix with diagonal entries 1 or -1

Return:
intmat, the inverse of M

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

Top Back: delete_zero_rows Forward: classify_lib 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.