matrix.py

IntegerMatrix

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

Methods

hermiteNormalForm()

compute hermite normal form(HNF).

Operators

operatorexplanation
M * NReturn the product of matrices M and N. N must be matrices,vector or integer.
M / dReturn the division of M by d. d must be integer unit, 1 or -1.
M % dReturn M modulo d. d must be nonzero integer.

(other operation is defined Matrix)


Last-modified: 2006-08-07 (·î) 23:26:22