|
D.15.13.49 smithNormalForm
Procedure from library multigrading.lib (see multigrading_lib).
- Usage:
- smithNormalForm(A[,opt]); intmat A
- Purpose:
- Computes the Smith Normal Form of A
- Return:
- if no optional argument is given: intmat, the Smith Normal Form of A,
otherwise: a list of 3 integer matrices P, D Q, such that D == P*A*Q.
Example:
|