d01anf

d01anf © Numerical Algorithms Group, 2002.

Purpose

D01ANF 1-D quadrature, adaptive, finite interval, weight function cos ( omega x) or sin ( omega x)

Synopsis

[result,abserr,w,iw,ifail] = d01anf(g,a,b,omega,epsabs,epsrel<,key,lw,liw,...
ifail>)

Description

 
 D01ANF is an adaptive routine, designed to integrate a function
 of the form g(x)w(x), where w(x) is either sin((omega)x) or 
 cos((omega)x). 
 

Parameters

d01anf

Required Input Arguments:

g                                     function (User-Supplied)
a                                     real
b                                     real
omega                                 real
epsabs                                real
epsrel                                real

Optional Input Arguments:                       <Default>

key                                   integer  2
lw                                    integer  d01anf11
liw                                   integer  d01anf13(lw)
ifail                                 integer  -1

Output Arguments:

result                                real
abserr                                real
w (lw)                                real
iw (liw)                              integer
ifail                                 integer