# Hermite basis

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

## Syntax

## Description

#### hermite_basis(Matrix)

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

## Options

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` |