Trait ndarray_rand::rand_distr::num_traits::WrappingMul
source · pub trait WrappingMul: Sized + Mul<Output = Self> {
// Required method
fn wrapping_mul(&self, v: &Self) -> Self;
}
Expand description
Performs multiplication that wraps around on overflow.
Required Methods§
sourcefn wrapping_mul(&self, v: &Self) -> Self
fn wrapping_mul(&self, v: &Self) -> Self
Wrapping (modular) multiplication. Computes self * other
, wrapping around at the boundary
of the type.
Object Safety§
This trait is not object safe.