Function astro::interpol::three_values
[−]
[src]
pub fn three_values(y1: f64, y2: f64, y3: f64, n: f64) -> f64
Interpolates an intermediate value of a function from three of it's given values
Returns
interpol_val: Intermediate value of the function
Arguments
y1: Value 1 of the functiony2: Value 2 of the functiony3: Value 3 of the functionn: Interpolating factor, measured from the central valuey2, positively towardsy3