SmithDecomposition¶ gives the Smith normal form decomposition of an integer matrix. $ wo 'SmithDecomposition[{{1, 0}, {0, 1}}]' {{{1, 0}, {0, 1}}, {{1, 0}, {0, 1}}, {{1, 0}, {0, 1}}}