Trait vectors::Dot [] [src]

pub trait Dot: Sized {
    type Scalar;
    fn dot(&self, rhs: &Self) -> Self::Scalar;
}

The trait for types supporting the calculation of the dot product

Associated Types

The scalar type returned by self's dot product

Required Methods

Calculates the dot-product between self and rhs.

Implementors