Logo ROOT  
Reference Guide
ROOT::Math::Roots::Steffenson Class Reference

Steffenson method, providing the fastes convergence.

See the GSL manual for more information

Definition at line 178 of file RootFinderAlgorithms.h.

Public Member Functions

 Steffenson ()
 
virtual ~Steffenson ()
 
- Public Member Functions inherited from ROOT::Math::GSLRootFinderDeriv
 GSLRootFinderDeriv ()
 
virtual ~GSLRootFinderDeriv ()
 
int Iterate ()
 iterate (return GSL_SUCCESS in case of successful iteration) More...
 
int Iterations () const
 Return number of iterations. More...
 
const char * Name () const
 Return name of root finder algorithm. More...
 
double Root () const
 Returns the previously calculated root. More...
 
bool SetFunction (const IGradFunction &f, double xstart)
 Sets the function for algorithms using derivatives. 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, GSLFuncPointer df, GSLFdFPointer fdf, void *p, double Root)
 
bool Solve (int maxIter=100, double absTol=1E-8, double relTol=1E-10)
 Find the root (return false if failed) 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

 Steffenson (const Steffenson &)
 
Steffensonoperator= (const Steffenson &)
 

Additional Inherited Members

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

#include <Math/RootFinderAlgorithms.h>

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

Constructor & Destructor Documentation

◆ Steffenson() [1/2]

ROOT::Math::Roots::Steffenson::Steffenson ( )

Definition at line 187 of file RootFinderAlgorithms.cxx.

◆ ~Steffenson()

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

Definition at line 194 of file RootFinderAlgorithms.cxx.

◆ Steffenson() [2/2]

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

Definition at line 200 of file RootFinderAlgorithms.cxx.

Member Function Documentation

◆ operator=()

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

Definition at line 205 of file RootFinderAlgorithms.cxx.

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

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