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)
completeHermitereturns a record that contains the Hermite normal formHof the matrix and the equivalence matrixUsuch that U*m =H
- completeSmith: M -> Record(Smith: M, leftEqMat: M, rightEqMat: M)
completeSmithreturns a record that contains the Smith normal formHof the matrix and the left and right equivalence matricesUandVsuch 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.