Boost C++ Libraries Home Libraries People FAQ More

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