Trait basic_dsp::DotProductOps [] [src]

pub trait DotProductOps<T>: Sized where T: Sized {
    fn dot_product(&self, factor: &Self) -> ScalarResult<T>;
}

An operation which multiplies each vector element with a constant

Required Methods

fn dot_product(&self, factor: &Self) -> ScalarResult<T>

Calculates the dot product of self and factor. Self and factor remain unchanged.

Implementors