Normal forms: Difference between revisions
→Hermite normal form: tense |
→Hermite normal form: Give a much simpler definition following wikipedia |
||
| Line 4: | Line 4: | ||
== Hermite normal form == | == Hermite normal form == | ||
{{wikipedia|Hermite normal form}} | |||
The '''Hermite normal form''', or HNF for short, is an important normal form that is defined for integer matrices in the mathematical field of linear algebra. | |||
An integer matrix is simply a 2D array of integers, and so we can easily think of lists of vals or commas as integer matrices and therefore leverage HNF in regular temperament theory. | |||
The Hermite normal form is unique. Besides that, it is also the integer analogue of the reduced echelong form, so it can be used to solve systems of equations in the integers by Gaussian elimination. | |||
There are slightly different definitions of HNF in use, and if you are using a computer program to compute it, you should take care that the same normal monzo or val list is finally achieved. The definition used by the Wikipedia article on Hermite form, probably the most standard, works as follows. | There are slightly different definitions of HNF in use, and if you are using a computer program to compute it, you should take care that the same normal monzo or val list is finally achieved. | ||
The definition used by the Wikipedia article on Hermite form, probably the most standard, works as follows. | |||
An ''n''×''m'' integer matrix H is in (row-wise) HNF if it satisfies the following conditions: | |||
# H is upper triangular: the entries ''h<sub>ij</sub>'' = 0 for ''i'' > ''j'', and any rows of zeros are located below the other rows. | |||
# The first non-zero entry from the left (called the ''leading coefficient'') of any non-zero row is always stricly to the right of the leading coefficient of the row above it. | |||
# The leading coefficients are positive. | |||
# The elements below every leading coefficient are zero, and the entries above are strictly smaller than the leading coefficient. | |||
# | |||
# | |||
# | |||
For more information, diagrams, an alternative articulation of the same definition, and comparisons with related integer matrix forms, see: [[Matrix echelon forms #HNF]]. | For more information, diagrams, an alternative articulation of the same definition, and comparisons with related integer matrix forms, see: [[Matrix echelon forms #HNF]]. | ||