Trait basic_dsp::ScaleOps [] [src]

pub trait ScaleOps<T>: Sized where T: Sized {
    fn scale(self, factor: T) -> VecResult<Self>;
}

An operation which multiplies each vector element with a constant

Required Methods

fn scale(self, factor: T) -> VecResult<Self>

Multiplies the vector element with a scalar.

Implementors