pub struct AkimaPeriodic;
Expand description
Akima Periodic Interpolation type.
Non-rounded Akima spline with natural boundary conditions. This method uses the non-rounded corner algorithm of Wodicka.
Trait Implementations§
Source§impl<T> InterpType<T> for AkimaPeriodicwhere
T: Num,
impl<T> InterpType<T> for AkimaPeriodicwhere
T: Num,
Source§fn build(
&self,
xa: &[T],
ya: &[T],
) -> Result<AkimaPeriodicInterp<T>, InterpolationError>
fn build( &self, xa: &[T], ya: &[T], ) -> Result<AkimaPeriodicInterp<T>, InterpolationError>
Constructs an Akima Periodic Interpolator.
§Example
let xa = [0.0, 1.0, 2.0, 3.0, 4.0];
let ya = [0.0, 2.0, 4.0, 6.0, 8.0];
let interp = AkimaPeriodic.build(&xa, &ya)?;
Source§type Interpolator = AkimaPeriodicInterp<T>
type Interpolator = AkimaPeriodicInterp<T>
The returned Interpolator, containing the calculated coefficients and providing the
evaluation methods.
Auto Trait Implementations§
impl Freeze for AkimaPeriodic
impl RefUnwindSafe for AkimaPeriodic
impl Send for AkimaPeriodic
impl Sync for AkimaPeriodic
impl Unpin for AkimaPeriodic
impl UnwindSafe for AkimaPeriodic
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