Function bsplev_single_f64

Source
pub fn bsplev_single_f64(
    x: &f64,
    i: usize,
    k: &usize,
    t: &Vec<f64>,
    org_k: Option<usize>,
) -> f64
Expand description

Evaluate the x value on the i’th B-spline with order k and knot sequence t.

Note org_k should be input as None, it is used internally for recursively calculating spline derivatives, where it is set to the original k value from the outer scope.