Skip to main content

BuildInterpolator2d

Trait BuildInterpolator2d 

Source
pub trait BuildInterpolator2d: Interpolation2d + Sized {
    const MIN_SIZE: usize;

    // Required method
    fn build(
        xa: &[f64],
        ya: &[f64],
        za: &[f64],
    ) -> Result<Self, InterpolationError>;
}
Expand description

2D Interpolator build method.

Required Associated Constants§

Source

const MIN_SIZE: usize

The minimum required number of data points.

Required Methods§

Source

fn build(xa: &[f64], ya: &[f64], za: &[f64]) -> Result<Self, InterpolationError>

Builds the Interpolator.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§