Function bsplev_single_dual2

Source
pub fn bsplev_single_dual2(
    x: &Dual2,
    i: usize,
    k: &usize,
    t: &Vec<f64>,
    org_k: Option<usize>,
) -> Dual2
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.