Module librualg::math[][src]

Expand description

Mathematics algorithms

Functions

gcd

The Greatest Common Divisor (GCD)

is_simple

Checking a Number for Simplicity (Fermat’s test)

pow

The function returns the value of x to the power of y.

pow_mod

The function returns the value of x to the power of y by module.