Skip to main content

newton_coefficients

Function newton_coefficients 

Source
pub fn newton_coefficients(
    xs: &[f64],
    ys: &[f64],
) -> Result<Vec<f64>, InterpolationError>
Expand description

Newton divided-difference coefficients for (xs, ys) (the leading diagonal of the divided-difference table). Use with newton_eval.