pub type FixedMersenneInt<const P: u8, const K: umax> = ReducedInt<umax, FixedMersenne<P, K>>;
Expand description
An integer in modulo ring with a fixed (pseudo) Mersenne number as modulus
Aliased Type§
struct FixedMersenneInt<const P: u8, const K: umax> { /* private fields */ }
Implementations
Trait Implementations
Source§impl<T: PartialEq + Clone, R: Reducer<T>> Add<&ReducedInt<T, R>> for ReducedInt<T, R>
impl<T: PartialEq + Clone, R: Reducer<T>> Add<&ReducedInt<T, R>> for ReducedInt<T, R>
Source§impl<T: Clone, R: Clone + Reducer<T>> Clone for ReducedInt<T, R>
impl<T: Clone, R: Clone + Reducer<T>> Clone for ReducedInt<T, R>
Source§fn clone(&self) -> ReducedInt<T, R>
fn clone(&self) -> ReducedInt<T, R>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more