[][src]Trait competitive_hpp::modulo::mod_int::ModIntTrait

pub trait ModIntTrait<T> {
    fn new(n: T) -> Self;
fn new_with(n: T, modulo: T) -> Self;
fn inverse(&self) -> Self;
fn pow(self, r: T) -> Self;
fn static_inverse_with(n: T, modulo: T) -> T; }

Required methods

fn new(n: T) -> Self

fn new_with(n: T, modulo: T) -> Self

fn inverse(&self) -> Self

fn pow(self, r: T) -> Self

fn static_inverse_with(n: T, modulo: T) -> T

Loading content...

Implementors

impl<T> ModIntTrait<T> for ModInt<T> where
    T: PrimInt
[src]

Loading content...