Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Member Functions | List of all members
ROOT::Math::Roots::FalsePos Class Reference

False Position algorithm based on linear interpolation.

See the GSL manual for more information

Definition at line 79 of file RootFinderAlgorithms.h.

Public Member Functions

 FalsePos ()
 
virtual ~FalsePos ()
 
- 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...
 
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 bool SetFunction (const ROOT::Math::IGradFunction &, double)
 Sets the function for algorithms using derivatives. More...
 

Private Member Functions

 FalsePos (const FalsePos &)
 
FalsePosoperator= (const FalsePos &)
 

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::FalsePos:
[legend]

Constructor & Destructor Documentation

◆ FalsePos() [1/2]

ROOT::Math::Roots::FalsePos::FalsePos ( )

Definition at line 74 of file RootFinderAlgorithms.cxx.

◆ ~FalsePos()

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

Definition at line 81 of file RootFinderAlgorithms.cxx.

◆ FalsePos() [2/2]

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

Definition at line 87 of file RootFinderAlgorithms.cxx.

Member Function Documentation

◆ operator=()

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

Definition at line 92 of file RootFinderAlgorithms.cxx.


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