Trait comlib_math::InvertibleModulus[][src]

pub trait InvertibleModulus: Modulus {
    fn inverse(self, value: ModInt<Self>) -> ModInt<Self>;
}
Expand description

Marker trait for indicating that modular numbers in this modulo can be inverted.

Required methods

Computes the inverse of the given ModInt.

Implementors