matrix.py

IntegerSquareMatrix

The class is for square matrix over integer ring.It is subclass of IntegerMatrix.

Methods

smithNormalForm()

compute smith normal form for nonsingular matrix, and return the list of diagonal elements.

extsmithNormalForm()

compute smith normal form M and U,V satified U*self*V=M, and return IntegerMatrix tuple (U,V,M).


Last-modified: 2006-08-08 (Ва) 18:15:23