![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
GSL integration base. More...
#include <gsl_inte.h>
This base class does not perform any actual integration, but just provides functions to be used in the integration classes based on GSL.
Definition at line 56 of file gsl_inte.h.
Protected Member Functions | |
double | rescale_error (double err, const double result_abs, const double result_asc) |
QUADPACK's nonlinear rescaling of the absolute-error estimate. |
double gsl_inte::rescale_error | ( | double | err, |
const double | result_abs, | ||
const double | result_asc | ||
) | [inline, protected] |
The values (stored in
result_abs
) and (stored in
result_asc
) are assumed to be
all of which are computed from the best (i.e., finest-grid) approximation of the integrals. The rescaled error, is computed from the raw error,
err
, by
or
whichever of the two is greater. The value denotes "machine epsilon." (In the case that the second value underflows, the first value is automatically accepted.)
This function is used in gsl_inte_qng and gsl_inte_kronrod::gauss_kronrod_base().
Definition at line 100 of file gsl_inte.h.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).