Various authors may prefer to talk about Hermite normal form in either row-style or column-style. They are essentially the same up to transposition.
Row-style Hermite normal form A matrix A \in \mathbb{Z}^{m \times n} has a (row) Hermite normal form H if there is a square
unimodular matrix U such that H=UA and: • H is upper triangular (that is, h_{ij}=0 for i>j), and any rows of zeros are located below any other row. • The
leading coefficient (the first nonzero entry from the left, also called the
pivot) of a nonzero row is always strictly to the right of the leading coefficient of the row above it; moreover, it is positive. • The elements below pivots are zero and elements above pivots are nonnegative and strictly smaller than the pivot. The third condition is not standard among authors, for example some sources force non-pivots to be nonpositive or place no sign restriction on them. However, these definitions are equivalent by using a different unimodular matrix U. A unimodular matrix is a square
integer matrix whose
determinant is 1 or −1 (and hence
invertible). In fact, a unimodular matrix is invertible over the integers, as can be seen, for example, from
Cramer's Rule.
Column-style Hermite normal form A matrix A \in \mathbb{Z}^{m \times n} has a (column) Hermite normal form H if there is a square
unimodular matrix U where H=AU and H has the following restrictions: • H is lower triangular (h_{ij}=0 for i) and any columns of zeros are located on the right. • The
leading coefficient (the first nonzero entry from the top, also called the
pivot) of a nonzero column is always strictly below of the leading coefficient of the column before it; moreover, it is positive. • The elements to the right of pivots are zero and elements to the left of pivots are nonnegative and strictly smaller than the pivot. Note that the row-style definition has a unimodular matrix U multiplying A on the left (meaning U is acting on the rows of A ), while the column-style definition has the unimodular matrix action on the columns of A . The two definitions of Hermite normal forms are simply transposes of each other. ==Existence and uniqueness of the Hermite normal form==