Function rgsl::interpolation::eval [−][src]
pub fn eval(
interp: &Interp,
xa: &[f64],
ya: &[f64],
x: f64,
acc: &mut InterpAccel
) -> f64
Expand description
This function returns the interpolated value of y for a given point x, using the interpolation object interp, data arrays xa and ya and the accelerator acc. When x is outside the range of xa, the error code ::Dom is returned with a value of rgsl::NAN for y.