1
subroutine fpbspl(t,n,k,x,l,h)
2
c subroutine fpbspl evaluates the (k+1) non-zero b-splines of
3
c degree k at t(l) <= x < t(l+1) using the stable recurrence
4
c relation of de boor and cox.
6
c changed so that weighting of 0 is used when knots with
7
c multiplicity are present.
8
c Also, notice that l+k <= n and 1 <= l+1-k
9
c or else the routine will be accessing memory outside t
10
c Thus it is imperative that that k <= l <= n-k but this
13
c ..scalar arguments..
34
if (t(li).ne.t(lj)) goto 15
37
15 f = hh(i)/(t(li)-t(lj))
38
h(i) = h(i)+f*(t(li)-x)