pub enum Mersenne61 {}Implementations§
Trait Implementations§
impl Associative for Mersenne61
impl Commutative for Mersenne61
Source§impl Magma for Mersenne61
impl Magma for Mersenne61
Source§impl SemiRing for Mersenne61
impl SemiRing for Mersenne61
type T = u64
type Additive = Mersenne61Add
type Multiplicative = Mersenne61
fn is_zero(x: &Self::T) -> bool
fn is_one(x: &Self::T) -> bool
fn try_matrix_product( _a: &[Vec<Self::T>], _b: &[Vec<Self::T>], ) -> Option<Vec<Vec<Self::T>>>
fn dot_product(x: &[Self::T], y: &[Self::T]) -> Self::T
fn add_scaled_assign(x: &mut [Self::T], y: &[Self::T], a: &Self::T)
fn add_assign(x: &mut Self::T, y: &Self::T)
fn mul_assign(x: &mut Self::T, y: &Self::T)
Auto Trait Implementations§
impl Freeze for Mersenne61
impl RefUnwindSafe for Mersenne61
impl Send for Mersenne61
impl Sync for Mersenne61
impl Unpin for Mersenne61
impl UnsafeUnpin for Mersenne61
impl UnwindSafe for Mersenne61
Blanket Implementations§
impl<M> AbelianMonoid for Mwhere
M: Monoid + Commutative,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more