[][src]Trait basic_dsp::RealInterpolationOps

pub trait RealInterpolationOps<S, T> where
    S: ToSliceMut<T>,
    T: RealNumber
{ fn interpolate_hermite<B>(
        &mut self,
        buffer: &mut B,
        interpolation_factor: T,
        delay: T
    )
    where
        B: Buffer<'a, S, T>
;
fn interpolate_lin<B>(
        &mut self,
        buffer: &mut B,
        interpolation_factor: T,
        delay: T
    )
    where
        B: Buffer<'a, S, T>
; }

Provides interpolation operations which are only applicable for real data vectors.

Failures

All operations in this trait fail with VectorMustBeReal if the vector isn't in the real number space.

Required methods

fn interpolate_hermite<B>(
    &mut self,
    buffer: &mut B,
    interpolation_factor: T,
    delay: T
) where
    B: Buffer<'a, S, T>, 

Piecewise cubic hermite interpolation between samples.

fn interpolate_lin<B>(
    &mut self,
    buffer: &mut B,
    interpolation_factor: T,
    delay: T
) where
    B: Buffer<'a, S, T>, 

Linear interpolation between samples.

Loading content...

Implementors

impl<S, T, N, D> RealInterpolationOps<S, T> for DspVec<S, T, N, D> where
    D: Domain,
    N: RealNumberSpace,
    S: ToSliceMut<T>,
    T: RealNumber
[src]

impl<V, S, T> RealInterpolationOps<S, T> for Matrix2xN<V, S, T> where
    S: ToSliceMut<T>,
    T: RealNumber,
    V: Vector<T> + RealInterpolationOps<S, T>, 
[src]

impl<V, S, T> RealInterpolationOps<S, T> for Matrix3xN<V, S, T> where
    S: ToSliceMut<T>,
    T: RealNumber,
    V: Vector<T> + RealInterpolationOps<S, T>, 
[src]

impl<V, S, T> RealInterpolationOps<S, T> for Matrix4xN<V, S, T> where
    S: ToSliceMut<T>,
    T: RealNumber,
    V: Vector<T> + RealInterpolationOps<S, T>, 
[src]

impl<V, S, T> RealInterpolationOps<S, T> for MatrixMxN<V, S, T> where
    S: ToSliceMut<T>,
    T: RealNumber,
    V: Vector<T> + RealInterpolationOps<S, T>, 
[src]

Loading content...