Hermite basis

Computes the Hermite decomposition of a square matrix with integer coefficients. Given a square nonsingular integer matrix A, there exists an n cross times n unimodular matrix U and an n cross times n matrix H (known as the Hermite normal form) such that A U equals H.

hermite_basis(Matrix)

Given a square matrix with integers coefficients, returns a list with two elements: the Hermite normal form H and the unimodular matrix U. Some options are available.

Below is a complete list of options that may be used in the hermite_basis function.


Option Description Format Default value
method We can choose the method to be used from the following: columns, rows. {method="rows"} columns