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