****** |
i n p u t ******
|
t |
the knot array, of length left+k (at least)
|
k |
the order of the b-splines to be evaluated
|
x |
the point at which these values are sought
|
left |
an integer indicating the left endpoint of the interval of
|
interest. the | |
k b-splines whose support contains the interval
(t(left), t(left+1))
are to be considered.
|
|
|
a s s u m p t i o n | |
- - - it is assumed that
t(left) .lt. t(left+1)
|
division by zero will result otherwise (in | |
b s p l v b ).
also, the output is as advertised only if
t(left) .le. x .le. t(left+1) .
|
|
|
nderiv |
an integer indicating that values of b-splines and their
|
derivatives up to but not including the | |
nderiv-th are asked
|
for. ( nderiv | |
is replaced internally by the integer m h i g h
|
in |
(1,k) closest to it.)
|
|
|
|
|
****** |
w o r k a r e a ******
|
a |
an array of order (k,k), to contain b-coeff.s of the derivat-
|
ives of a certain order of the | |
k b-splines of interest.
|
|
|
|
|
****** |
o u t p u t ******
|
dbiatx |
an array of order (k,nderiv). its entry (i,m) contains
|
value of | |
(m-1)st derivative of (left-k+i)-th b-spline of
|
order |
k for knot sequence t , i=1,...,k, m=1,...,nderiv.
|
|
|
|
|
****** |
m e t h o d ******
|
values at | |
x of all the relevant b-splines of order k,k-1,...,
|
k+1-nderiv | |
are generated via bsplvb and stored temporarily in
|
dbiatx . | |
then, the b-coeffs of the required derivatives of the b-
splines of interest are generated by differencing, each from the pre-
ceding one of lower order, and combined with the values of b-splines
|
of corresponding order in | |
dbiatx to produce the desired values .
|
|
|
|