ergo
bisection.h File Reference

Bisection method. More...

#include <cmath>

Go to the source code of this file.

Namespaces

 mat
 

Functions

template<typename Treal >
int mat::sign (Treal value)
 Sign function returns the sign of the input. More...
 
template<typename Treal , typename Tfun >
Treal mat::bisection (Tfun const &fun, Treal min, Treal max, Treal const tol)
 Bisection algorithm for root finding. More...
 

Detailed Description

Bisection method.

Author
Emanuel Rubensson responsible author
Date
May 7, 2006