Crate gcdn

Crate gcdn 

Source
Expand description

An algorithmically faster implementation of variadic GCD.

Modules§

util
Some traits needed for generic implementation.

Functions§

gcd2
GCD of 2 arguments.
gcd3
GCD of 3 arguments.
gcd4
GCD of 4 arguments.
gcdn
GCD of N arguments.
lcm2
LCM of 2 arguments.
lcm3
LCM of 3 arguments.
lcm4
LCM of 4 arguments.