pub trait Modular<E> {
    const P: E;
}
Expand description

Be careful when implementing this trait. The modular must be a prime, or all mathmatical assumptions in this crate will be broken.

Implement this trait to embed the modular into a type

Required Associated Constants§

source

const P: E

this modular P must be a prime

Implementors§