Trait vector_space::DotProduct [−][src]
pub trait DotProduct<T = Self>: VectorSpace {
type Output;
fn dot(self, other: T) -> <Self as DotProduct<T>>::Output;
}Expand description
This trait defines the dot product.
Associated Types
Required methods
fn dot(self, other: T) -> <Self as DotProduct<T>>::Output
fn dot(self, other: T) -> <Self as DotProduct<T>>::Output
Computes the dot product.