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§

source

type Output

The output type of the dot product.

Required Methods§

source

fn dot(self, other: T) -> <Self as DotProduct<T>>::Output

The dot product.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DotProduct for f32

§

type Output = f32

source§

fn dot(self, other: Self) -> f32

source§

impl DotProduct for f64

§

type Output = f64

source§

fn dot(self, other: Self) -> f64

Implementors§