STK++ 0.9.13
STK_Algo_FindZero.h File Reference
#include <Sdk.h>
#include "STK_IFunction.h"
Include dependency graph for STK_Algo_FindZero.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  STK
 The namespace STK is the main domain space of the Statistical ToolKit project.
 
namespace  STK::Algo
 The namespace Algo enclose all generic algorithms.
 

Macros

#define MAX_ITER   1000
 

Functions

template<class Function >
Real STK::Algo::BrentMethod (IFunction< Function > const &f, Real const &x0, Real const &x1, Real tol)
 perform the brent's algorithm.
 
template<class Function >
Real STK::Algo::SecantMethod (IFunction< Function > const &f, Real const &x0, Real const &x1, Real tol)
 apply the secant method for finding the zero of a function.
 
template<class Function >
Real STK::Algo::findZero (IFunction< Function > const &f, Real const &x0, Real const &x1, Real tol)
 find the zero of a function.
 

Macro Definition Documentation

◆ MAX_ITER

#define MAX_ITER   1000

Definition at line 42 of file STK_Algo_FindZero.h.