pub trait MIntDotProduct: MIntBase + Sized {
// Provided methods
fn try_matrix_product(
_a: &[Vec<MInt<Self>>],
_b: &[Vec<MInt<Self>>],
) -> Option<Vec<Vec<MInt<Self>>>> { ... }
fn dot_product(x: &[MInt<Self>], y: &[MInt<Self>]) -> MInt<Self> { ... }
fn add_scaled_assign(x: &mut [MInt<Self>], y: &[MInt<Self>], a: &MInt<Self>) { ... }
}Provided Methods§
Sourcefn try_matrix_product(
_a: &[Vec<MInt<Self>>],
_b: &[Vec<MInt<Self>>],
) -> Option<Vec<Vec<MInt<Self>>>>
fn try_matrix_product( _a: &[Vec<MInt<Self>>], _b: &[Vec<MInt<Self>>], ) -> Option<Vec<Vec<MInt<Self>>>>
Sourcefn dot_product(x: &[MInt<Self>], y: &[MInt<Self>]) -> MInt<Self>
fn dot_product(x: &[MInt<Self>], y: &[MInt<Self>]) -> MInt<Self>
Sourcefn add_scaled_assign(x: &mut [MInt<Self>], y: &[MInt<Self>], a: &MInt<Self>)
fn add_scaled_assign(x: &mut [MInt<Self>], y: &[MInt<Self>], a: &MInt<Self>)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".