Trait basic_dsp::Offset [] [src]

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

An operation which adds a constant to each vector element

Required Methods

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

Adds a scalar to each vector element.

Implementors