Skip to main content

slopes

Function slopes 

fn slopes<R: Scalar>(ks: &[f64], ys: &[R]) -> Vec<R>
Expand description

The divided differences d_i = (y_{i+1} − y_i)/h_i over the knot sequence.