Trait basic_dsp_vector::RealInterpolationOps [−][src]
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: for<'a> Buffer<'a, S, T>; fn interpolate_lin<B>(
&mut self,
buffer: &mut B,
interpolation_factor: T,
delay: T
)
where
B: for<'a> Buffer<'a, S, T>; }
Expand description
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: for<'a> Buffer<'a, S, T>, [src]
fn interpolate_hermite<B>(
&mut self,
buffer: &mut B,
interpolation_factor: T,
delay: T
) where
B: for<'a> Buffer<'a, S, T>, [src]Piecewise cubic hermite interpolation between samples.
fn interpolate_lin<B>(
&mut self,
buffer: &mut B,
interpolation_factor: T,
delay: T
) where
B: for<'a> Buffer<'a, S, T>, [src]
fn interpolate_lin<B>(
&mut self,
buffer: &mut B,
interpolation_factor: T,
delay: T
) where
B: for<'a> Buffer<'a, S, T>, [src]Linear interpolation between samples.
Implementors
impl<S, T, N, D> RealInterpolationOps<S, T> for DspVec<S, T, N, D> where
S: ToSliceMut<T>,
T: RealNumber,
N: RealNumberSpace,
D: Domain, [src]
impl<S, T, N, D> RealInterpolationOps<S, T> for DspVec<S, T, N, D> where
S: ToSliceMut<T>,
T: RealNumber,
N: RealNumberSpace,
D: Domain, [src]fn interpolate_lin<B>(
&mut self,
buffer: &mut B,
interpolation_factor: T,
delay: T
) where
B: for<'a> Buffer<'a, S, T>, [src]fn interpolate_hermite<B>(
&mut self,
buffer: &mut B,
interpolation_factor: T,
delay: T
) where
B: for<'a> Buffer<'a, S, T>, [src]