e01bhf

e01bhf © Numerical Algorithms Group, 2002.

Purpose

E01BHF Interpolated values, interpolant computed by E01BEF, definite integral, one variable

Synopsis

[pint,ifail] = e01bhf(x,f,d,a,b<,ifail>)

Description

 
 This routine evaluates the definite integral of a piecewise cubic
 Hermite interpolant, as computed by E01BEF, over the interval 
 [a,b].
 
 If either a or b lies outside the interval from X(1) to X(N) 
 computation of the integral involves extrapolation and a warning 
 is returned.
 

Parameters

e01bhf

Required Input Arguments:

x (:)                                 real
f (:)                                 real
d (:)                                 real
a                                     real
b                                     real

Optional Input Arguments:                       <Default>

ifail                                 integer  -1

Output Arguments:

pint                                  real
ifail                                 integer