common:functions:linear_algebra:smith_normal_form