SmithNormalForm(R, Row, Col, M)ΒΆ
smith.spad line 1 [edit on github]
Row: FiniteLinearAggregate R
Col: FiniteLinearAggregate R
M: MatrixCategory(R, Row, Col)
SmithNormalForm is a package which provides some standard canonical forms for matrices.
- completeHermite: M -> Record(Hermite: M, eqMat: M)
completeHermite
returns a record that contains the Hermite normal formH
of the matrix and the equivalence matrixU
such that U*m =H
- completeSmith: M -> Record(Smith: M, leftEqMat: M, rightEqMat: M)
completeSmith
returns a record that contains the Smith normal formH
of the matrix and the left and right equivalence matricesU
andV
such that U*m*v =H
- diophantineSystem: (M, Col) -> Record(particular: Union(Col, failed), basis: List Col)
diophantineSystem(A, B)
returns a particular integer solution and an integer basis of the equationA X = B
.
- hermite: M -> M
hermite(m)
returns the Hermite normal form of the matrixm
.
- smith: M -> M
smith(m)
returns the Smith Normal form of the matrixm
.