Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Private Member Functions | List of all members
ROOT::Math::Roots::Brent Class Reference

Brent-Dekker algorithm which combines an interpolation strategy with the bisection algorithm See the GSL manual for more information.

Definition at line 104 of file RootFinderAlgorithms.h.

Public Member Functions

 Brent ()
 
virtual ~Brent ()
 
- Public Member Functions inherited from ROOT::Math::GSLRootFinder
 GSLRootFinder ()
 
virtual ~GSLRootFinder ()
 
int Iterate ()
 This method is implemented only by the GSLRootFinder and GSLRootFinderDeriv classes and will return an error if it's not one of them. More...
 
int Iterations () const
 Return number of iterations. More...
 
const char * Name () const
 double GSLRootFinder::XLower() const { return fXlow; } More...
 
double Root () const
 Returns the previously calculated root. More...
 
bool SetFunction (const IGenFunction &f, double xlow, double xup)
 Sets the function for the rest of the algorithms. More...
 
virtual bool SetFunction (const ROOT::Math::IGenFunction &, double, double)
 Sets the function for the rest of the algorithms. More...
 
virtual bool SetFunction (const ROOT::Math::IGradFunction &, double)
 Sets the function for algorithms using derivatives. More...
 
bool SetFunction (GSLFuncPointer f, void *params, double xlow, double xup)
 
bool Solve (int maxIter=100, double absTol=1E-8, double relTol=1E-10)
 Find the root. More...
 
int Status () const
 Return the status of last root finding. More...
 
- Public Member Functions inherited from ROOT::Math::IRootFinderMethod
 IRootFinderMethod ()
 Default Constructor. More...
 
virtual ~IRootFinderMethod ()
 Default Destructor. More...
 
virtual int Iterate ()
 This method is implemented only by the GSLRootFinder and GSLRootFinderDeriv classes and will return an error if it's not one of them. More...
 
virtual int Iterations () const
 Return number of iterations used to find the root Must be implemented by derived classes. More...
 
virtual const char * Name () const =0
 Return name of root finder algorithm. More...
 
virtual double Root () const =0
 Returns the previously calculated root. More...
 
virtual bool SetFunction (const ROOT::Math::IGenFunction &, double, double)
 Sets the function for the rest of the algorithms. More...
 
virtual bool SetFunction (const ROOT::Math::IGradFunction &, double)
 Sets the function for algorithms using derivatives. More...
 
virtual bool Solve (int maxIter=100, double absTol=1E-8, double relTol=1E-10)=0
 Stimates the root for the function. More...
 
virtual int Status () const =0
 Returns the status of the previous estimate. More...
 

Private Member Functions

 Brent (const Brent &)
 
Brentoperator= (const Brent &)
 

Additional Inherited Members

- Public Types inherited from ROOT::Math::GSLRootFinder
typedef double(* GSLFuncPointer) (double, void *)
 
- Protected Member Functions inherited from ROOT::Math::GSLRootFinder
void FreeSolver ()
 
void SetSolver (GSLRootFSolver *s)
 

#include <Math/RootFinderAlgorithms.h>

Inheritance diagram for ROOT::Math::Roots::Brent:
[legend]

Constructor & Destructor Documentation

◆ Brent() [1/2]

ROOT::Math::Roots::Brent::Brent ( )

Definition at line 101 of file RootFinderAlgorithms.cxx.

◆ ~Brent()

ROOT::Math::Roots::Brent::~Brent ( )
virtual

Definition at line 108 of file RootFinderAlgorithms.cxx.

◆ Brent() [2/2]

ROOT::Math::Roots::Brent::Brent ( const Brent )
private

Definition at line 114 of file RootFinderAlgorithms.cxx.

Member Function Documentation

◆ operator=()

Brent & ROOT::Math::Roots::Brent::operator= ( const Brent rhs)
private

Definition at line 119 of file RootFinderAlgorithms.cxx.

Libraries for ROOT::Math::Roots::Brent:
[legend]

The documentation for this class was generated from the following files: