Canonical and integer forms return structured decompositions when metadata such
as transformations, rank, pivots, or invariant factors is part of the result.
Every decomposition on this page carries the transformation matrices that
certify it, so the defining identity can be replayed exactly.
Returns the certified Frobenius canonical form over the rationals. Its invariant factors are
monic and ordered by divisibility, and similarity satisfies
matrixsimilarity=similaritycanonical_form exactly.
The similarity, minimal_polynomial, and characteristic_polynomial getters return the
corresponding certified fields documented by their shared headings above.
Returns the canonical row-oriented Hermite normal form H, a unimodular
transformation U satisfying UM=H, the rank, and the strictly increasing
pivot-column indices. Entries must be exact integers. Every result is verified
for Hermite shape, the certificate identity, and unimodularity before return.
Notes: WASM returns a HermiteNormalFormDecomposition object with the
getters documented below.
The transpose-dual column form, returning H, a unimodular V satisfying
MV=H, the rank, and pivot metadata. Notes: WASM returns a
HermiteNormalFormDecomposition object.
Returns the canonical integer Smith normal form D, unimodular transformations
U and V satisfying UMV=D, the rank, and the invariant factors including
trailing zeros. The nonnegative positive prefix is divisibility-ordered. Every
result is verified for diagonal shape, divisibility, the exact certificate, and
unimodularity of both transformations before return. Notes: WASM returns a
SmithNormalFormDecomposition object with the getters documented below.
Returns the certified Frobenius canonical form over the rationals. Its invariant factors are monic and ordered by divisibility, and similarity satisfies matrixsimilarity=similaritycanonical_form exactly.