e01bgf

e01bgf © Numerical Algorithms Group, 2002.

Purpose

E01BGF Interpolated values, interpolant computed by E01BEF, function and 1st derivative, one variable

Synopsis

[pf,pd,ifail] = e01bgf(x,f,d,px<,ifail>)

Description

 
 This routine evaluates a piecewise cubic Hermite interpolant, as 
 computed by E01BEF, at the points PX(i), for i=1,2,...,m. The 
 first derivatives at the points are also computed. If any point 
 lies outside the interval from X(1) to X(N), values of the 
 interpolant and its derivative are extrapolated from the nearest 
 extreme cubic, and a warning is returned.
 
 If values of the interpolant only, and not of its derivative, are
 required, E01BFF should be used.
 

Parameters

e01bgf

Required Input Arguments:

x (:)                                 real
f (:)                                 real
d (:)                                 real
px (:)                                real

Optional Input Arguments:                       <Default>

ifail                                 integer  -1

Output Arguments:

pf (:)                                real
pd (:)                                real
ifail                                 integer