Numerical routines, such as root-finding, etc.
|
| template<class F , class Real > |
| bool | bisection (const F &f, Real &x, Real low_bound, Real high_bound, size_t iterations=0, int digits=std::numeric_limits< Real >::digits/2) |
| |
| template<class F , size_t Derivatives, class Real > |
| int | bisection_step (const F &f, std::array< Real, Derivatives > &curr_state, Real &x, Real &low_bound, Real &high_bound, Real x_precision) |
| | A single bisection step. More...
|
| |
| template<class F , size_t Derivatives, class Real > |
| int | halley_step (const F &f, std::array< Real, Derivatives > &curr_state, Real &x, Real &low_bound, Real &high_bound, Real x_precision) |
| | A single step of Halley's method for finding roots. More...
|
| |
| template<class F , class Real > |
| bool | halleys_method (const F &f, Real &x, Real low_bound=-HUGE_VAL, Real high_bound=+HUGE_VAL, size_t iterations=0, int digits=std::numeric_limits< Real >::digits/2) |
| | Safeguarded Halley's method for detecting a root. More...
|
| |
| template<class F , class Real > |
| bool | newton_raphson (const F &f, Real &x, Real low_bound=-HUGE_VAL, Real high_bound=+HUGE_VAL, size_t iterations=0, int digits=std::numeric_limits< Real >::digits/2) |
| | Safeguarded newton_raphson method for detecting a root. More...
|
| |
| template<class F , size_t Derivatives, class Real > |
| int | newton_raphson_step (const F &f, std::array< Real, Derivatives > &curr_state, Real &x, Real &low_bound, Real &high_bound, Real x_precision) |
| | A single step of the Newton-Raphson method for finding roots. More...
|
| |
| template<class F , size_t Derivatives, class Real > |
| int | schroeder_step (const F &f, std::array< Real, Derivatives > &curr_state, Real &x, Real &low_bound, Real &high_bound, Real x_precision) |
| | A single step of Schroeder's method for finding roots. More...
|
| |