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 form- Hof the matrix and the equivalence matrix- Usuch that U*m =- H
- completeSmith: M -> Record(Smith: M, leftEqMat: M, rightEqMat: M)
- completeSmithreturns a record that contains the Smith normal form- Hof the matrix and the left and right equivalence matrices- Uand- Vsuch 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 equation- A X = B.
- hermite: M -> M
- hermite(m)returns the Hermite normal form of the matrix- m.
- smith: M -> M
- smith(m)returns the Smith Normal form of the matrix- m.