bspline3(knot,
control,
t,
clamp=True,
nderiv=0)
| source code
|
Evaluate the B-spline specified by the given knot sequence and
control values at the parametric points t. The knot sequence
should be four elements longer than the control sequence.
If nderiv is greater than 0, returns derivatives as well as the
function value. For example, nderiv=3 returns f,f',f'',f''',
If clamp is True, the spline value is clamped to the value of
the final control point beyond the ends of the knot sequence.
If clamp is False, the spline will go to zero at +/- infinity
as in the traditional algorithm.
|