logo
pub trait NegMod {
    type Output;

    fn neg_mod(&self, p: &Self) -> Self::Output;
}
Expand description

Compute -self mod p.

Required Associated Types

Output type.

Required Methods

Compute -self mod p.

Implementors