Trait vector_space::DotProduct[][src]

pub trait DotProduct<T = Self>: VectorSpace {
    type Output;
    fn dot(self, other: T) -> Self::Output;
}

This trait defines the dot product.

Associated Types

type Output[src]

The output type of the dot product.

Loading content...

Required methods

fn dot(self, other: T) -> Self::Output[src]

Computes the dot product.

Loading content...

Implementations on Foreign Types

impl DotProduct<f32> for f32[src]

type Output = f32

impl DotProduct<f64> for f64[src]

type Output = f64

Loading content...

Implementors

Loading content...