Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Iteration Limits Policies

There are two policies that effect the iterative algorithms used to implement the special functions in this library:

template <unsigned long limit = BOOST_MATH_MAX_SERIES_ITERATION_POLICY>
class max_series_iterations;

template <unsigned long limit = BOOST_MATH_MAX_ROOT_ITERATION_POLICY>
class max_root_iterations;

The class max_series_iterations determines the maximum number of iterations permitted in a series evaluation, before the special function gives up and returns the result of evaluation_error.

The class max_root_iterations determines the maximum number of iterations permitted in a root-finding algorithm before the special function gives up and returns the result of evaluation_error.


PrevUpHomeNext