Trait peroxide::numerical::spline::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§
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
Object Safety§
This trait is not object safe.