Trait basic_dsp::Scale [] [src]

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

An operation which multiplies each vector element with a constant

Required Methods

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

Multiplies the vector element with a scalar.

Implementors