pub trait DotProduct<Rhs>: Sized + Copy {
type Result: SimdRealField;
// Required method
fn gdot(&self, rhs: Rhs) -> Self::Result;
}Expand description
Trait for computing generalized dot products.
Required Associated Types§
Sourcetype Result: SimdRealField
type Result: SimdRealField
The result type of the dot product.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl DotProduct<f32> for f32
impl DotProduct<f32> for f32
Source§impl<N: SimdRealCopy> DotProduct<Matrix<N, Const<2>, Const<1>, ArrayStorage<N, 2, 1>>> for Vector2<N>
Available on non-SPIR-V only.
impl<N: SimdRealCopy> DotProduct<Matrix<N, Const<2>, Const<1>, ArrayStorage<N, 2, 1>>> for Vector2<N>
Available on non-SPIR-V only.
Source§impl<N: SimdRealCopy> DotProduct<Matrix<N, Const<3>, Const<1>, ArrayStorage<N, 3, 1>>> for Vector3<N>
Available on non-SPIR-V only.
impl<N: SimdRealCopy> DotProduct<Matrix<N, Const<3>, Const<1>, ArrayStorage<N, 3, 1>>> for Vector3<N>
Available on non-SPIR-V only.
Source§impl<N: SimdRealCopy> DotProduct<N> for Vector1<N>
Available on non-SPIR-V only.
impl<N: SimdRealCopy> DotProduct<N> for Vector1<N>
Available on non-SPIR-V only.