|
ergo
|
Bisection method. More...
#include <cmath>Go to the source code of this file.
Namespaces | |
| namespace | mat |
Functions | |
| template<typename Treal> | |
| int | mat::sign (Treal value) |
| Sign function returns the sign of the input. | |
| template<typename Treal, typename Tfun> | |
| Treal | mat::bisection (Tfun const &fun, Treal min, Treal max, Treal const tol) |
| Bisection algorithm for root finding. | |
Bisection method.