C Library Functions  - ppvalu (3)

from * a practical guide to splines * by c. de boor
   calls  interv

calculates value at x of jderiv-th derivative of pp fct from pp-repr

****** i n p u t ******
break, coef, l, k.....forms the pp-representation of the function
 
to be evaluated. specifically, the j-th derivative of
  f is given by
(d**j)f(x) = coef(j+1,i) + h*(coef(j+2,i) + h*( ... (coef(k-1,i) +
 
o h*coef(k,i)/(k-j-1))/(k-j-2) ... )/2)/1
with h = x - break(i), and
i = max( 1 , max( j , break(j) .le. x , 1 .le. j .le. l ) ).
x.....the point at which to evaluate. jderiv.....integer giving the order of the derivative to be evaluat-
 
ed. a s s u m e d to be zero or positive.
****** o u t p u t ******
ppvalu.....the value of the (jderiv)-th derivative of
  f at x.
****** m e t h o d ******
the interval index
  i , appropriate for x , is found through a
call to
  interv . the formula above for the jderiv-th derivative
of f is then evaluated (by nested multiplication).


Nemo Release 3.1 ppvalu (3) June 29, 2025
Generated by manServer 1.08 from f2259a8d-6ae7-49e0-8429-58c7b49319f1 using man macros.