Function rgsl::interpolation::eval_e
source · [−]pub fn eval_e(
interp: &Interp,
xa: &[f64],
ya: &[f64],
x: f64,
acc: &mut InterpAccel
) -> (Value, 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.
Returns y
.