SNF - Smith Normalform - Elementarteiler ℤ
SNF 4x4 ℤ

Start slider 0
Input row operation to (7) IP, add new elementar-matrix to left side
[p+] set index to next P
E(a,b,c,n) row: a = a + b*c, n row dimension
Input colum operation to (9) IQ, add new elementar-matrix to right side
[q+] set index to next Q
E(a,b,c,n) col: a*c + b = b, n col dimension
T(a,b,n) Exchange row/col a <-> b, n row/col dimension
Example
A:={ {9, -36, 30},{ -36, 192, -180}, {30, -180, 180}};
Li := {{0, 0}, {1, 0}, {2, 0}, {3, 0}, {3, 1}, {3, 2}, {4, 2}, {5, 2}, {6, 2} };
IP:{E(3,2,-3,3),E(2,3,-1,3),E(3,2,-3,3),T(1,3,3) E(1,3,-3,3), E(3,1,-3,3),E(2,1,4,3)};
IQ:{E(1,2,24,3),E(1,3,-30,3)};