Learn R Programming

cwhmisc (version 6.0)

cwhmisci: Functions not to be called directliy by the user.

Description

Recursive internal functions to adapt..

Usage

.adaptsimstp(f,term,a,b,fa,fm,fb,is,trace,...) .adaptlobstp(f,term,a,b,fa,fb,is,trace,...)

Arguments

f
function to be integrated.
term
function to be integrated.
a
starting abscissa of integral.
b
ending abscissa of integral.
fa, fm, fb
function values at a, (a+b)/2, b.
is
parameter to control precision.
trace
should intermediate steps be traced
...
additional parameters for function f.

Value

List (Q, term) with Q = the approximate value of the integral and term = the information, whether the tolerance given was too small.