Smith form matrix July 8, 2019 16 32 64 128 Smith normal form matrix Smith canonical form polynomial matrix Smith normal form