Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

迭代限制策略(Iteration Limits Policies)

有兩個等價的策略來影響這個庫中用於實現特殊函數的迭代算法:

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;

max_series_iterations 確定在級數計算完成之前所能使用的迭代次數的最大值,並返回計算錯誤(evaluation_error)

max_root_iterations確定在根查找算法完成之前所能使用的迭代次數的最大值,並返回計算錯誤(evaluation_error)


PrevUpHomeNext