bracketingRootFinder.hpp File Reference

File contains implementation of bracketing root finder algorithm. More...

#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_roots.h>
#include <mathematics/numericalAlgorithms/GslFunctionAdapter.hpp>

Go to the source code of this file.

Enumerations

enum  julian::BracketingRootFinder { julian::BracketingRootFinder::BISECTION, julian::BracketingRootFinder::FALSEPOS, julian::BracketingRootFinder::BRENT_DEKKER }
 Types of bracketing algorithms. More...
 

Functions

template<typename T >
double julian::bracketingRootFinder (T f, double x_lo, double x_hi, BracketingRootFinder type, double precision=1e-12, int max_iter=100)
 Function finds roots using bracketing algorithms. More...
 

Detailed Description

File contains implementation of bracketing root finder algorithm.