pub trait Fp {
    // Required methods
    fn pow(&self, rhs: u32) -> Self;
    fn inv(&self) -> Self;
}

Required Methods§

source

fn pow(&self, rhs: u32) -> Self

source

fn inv(&self) -> Self

Implementors§

source§

impl<const MOD: u32> Fp for Modint<MOD>