peroxide::numerical::spline

Trait PolynomialSpline

Source
pub trait PolynomialSpline {
    // Required method
    fn get_ranged_polynomials(&self) -> &Vec<(Range<f64>, Polynomial)>;

    // Provided methods
    fn polynomial_at<T: Into<f64> + Copy>(&self, x: T) -> &Polynomial { ... }
    fn number_of_polynomials(&self) -> usize { ... }
}

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§