OGS
MathLib::Nonlinear Namespace Reference

Namespaces

 detail
 

Classes

class  RegulaFalsi
 
struct  Unmodified
 Used by RegulaFalsi in the original regula falsi algorithm. More...
 
struct  Illinois
 Used by RegulaFalsi in a modified version of the regula falsi algorithm. More...
 
struct  Pegasus
 Used by RegulaFalsi in a modified version of the regula falsi algorithm. More...
 
struct  AndersonBjorck
 Used by RegulaFalsi in a modified version of the regula falsi algorithm. More...
 

Functions

template<typename SubType , typename Function >
RegulaFalsi< SubType, Function > makeRegulaFalsi (Function &&f, double const a, double const b)
 

Function Documentation

◆ makeRegulaFalsi()

template<typename SubType , typename Function >
RegulaFalsi<SubType, Function> MathLib::Nonlinear::makeRegulaFalsi ( Function &&  f,
double const  a,
double const  b 
)

Creates a new instance of RegulaFalsi that uses the given modified iteration method SubType.

See also
https://en.wikipedia.org/wiki/False_position_method#Improvements_in_regula_falsi

Definition at line 137 of file Root1D.h.

140 {
141  return RegulaFalsi<SubType, Function>(std::forward<Function>(f), a, b);
142 }