Trait vector_space::DotProduct
source · pub trait DotProduct<T = Self>: VectorSpace {
type Output;
// Required method
fn dot(self, other: T) -> <Self as DotProduct<T>>::Output;
}
Expand description
This trait defines the dot product.
Required Associated Types§
Required Methods§
sourcefn dot(self, other: T) -> <Self as DotProduct<T>>::Output
fn dot(self, other: T) -> <Self as DotProduct<T>>::Output
The dot product.
Object Safety§
This trait is not object safe.