pub enum BatchInterpolator {
Chebyshev2D(LogChebyshevBatchInterpolation<2>, InterpData2D<OwnedRepr<f64>>),
Chebyshev3D(LogChebyshevBatchInterpolation<3>, InterpData3D<OwnedRepr<f64>>),
}Expand description
An enum to dispatch batch interpolation to the correct Chebyshev interpolator.
Variants§
Chebyshev2D(LogChebyshevBatchInterpolation<2>, InterpData2D<OwnedRepr<f64>>)
Chebyshev3D(LogChebyshevBatchInterpolation<3>, InterpData3D<OwnedRepr<f64>>)
Implementations§
Source§impl BatchInterpolator
impl BatchInterpolator
Sourcepub fn interpolate(
&self,
points: Vec<Vec<f64>>,
) -> Result<Vec<f64>, InterpolateError>
pub fn interpolate( &self, points: Vec<Vec<f64>>, ) -> Result<Vec<f64>, InterpolateError>
Interpolates a batch of points.
Auto Trait Implementations§
impl Freeze for BatchInterpolator
impl RefUnwindSafe for BatchInterpolator
impl Send for BatchInterpolator
impl Sync for BatchInterpolator
impl Unpin for BatchInterpolator
impl UnsafeUnpin for BatchInterpolator
impl UnwindSafe for BatchInterpolator
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more