Smith normal form Let be a non-zero matrix over a principal ideal domain (PID). Then, there exist invertible and matrices and , so that where the diagonal elements satisfy . They are called invariant factors. Syntax smith_normal_form(Matrix) Description smith_normal_form(Matrix) Given a matrix, returns a vector with the invariant factors. Related functions Smith normal form basis Table of Contents Syntax Description Related functions