Learn R Programming

quhomology (version 1.1.1)

push_down: Helper Function for Smith Normal Form calculation.

Description

If diagonal is not properly ordered in Smith Normal Form, this function reorders by gcd/lcm.

Usage

push_down(D)

Arguments

D

Diagonal of matrix to be turned into Smith Normal Form.

Value

A vector, containing the diagonal of a matrix to be turned into Smith Normal Form.

See Also

smith, check_more_push