pub struct InterpolatorCubic<T: Float> { /* private fields */ }Expand description
Spline cubic interpolator
Implementations§
Source§impl<T: Float> InterpolatorCubic<T>
impl<T: Float> InterpolatorCubic<T>
Sourcepub const INPUT_LENGTH: usize = 4
pub const INPUT_LENGTH: usize = 4
The number of input samples required
Sourcepub fn fractional<D>(&self, data: &D, fractional: T) -> T
pub fn fractional<D>(&self, data: &D, fractional: T) -> T
Interpolate a fractional sample
Trait Implementations§
Source§impl<T: Float> InterpolatorTrait<T> for InterpolatorCubic<T>
impl<T: Float> InterpolatorTrait<T> for InterpolatorCubic<T>
Auto Trait Implementations§
impl<T> Freeze for InterpolatorCubic<T>
impl<T> RefUnwindSafe for InterpolatorCubic<T>where
T: RefUnwindSafe,
impl<T> Send for InterpolatorCubic<T>where
T: Send,
impl<T> Sync for InterpolatorCubic<T>where
T: Sync,
impl<T> Unpin for InterpolatorCubic<T>where
T: Unpin,
impl<T> UnwindSafe for InterpolatorCubic<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more