powered by
If diagonal is not properly ordered in Smith Normal Form, this function reorders by gcd/lcm.
push_down(D)
Diagonal of matrix to be turned into Smith Normal Form.
A vector, containing the diagonal of a matrix to be turned into Smith Normal Form.
smith, check_more_push
smith
check_more_push