ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | List of all members
ROOT::Math::Roots::Bisection Class Reference

Roots::Bisection Bisection algorithm, simplest algorithm for bracketing the roots of a function, but slowest one.

See the GSL manual for more information

Definition at line 61 of file RootFinderAlgorithms.h.

Public Member Functions

 Bisection ()
 
virtual ~Bisection ()
 
- Public Member Functions inherited from ROOT::Math::GSLRootFinder
 GSLRootFinder ()
 
virtual ~GSLRootFinder ()
 
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)
 
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...
 
double Root () const
 Returns the previously calculated root. More...
 
bool Solve (int maxIter=100, double absTol=1E-8, double relTol=1E-10)
 Find the root. More...
 
int Iterations () const
 Return number of iterations. More...
 
int Status () const
 Return the status of last root finding. More...
 
const char * Name () const
 double GSLRootFinder::XLower() const { return fXlow; } More...
 
- Public Member Functions inherited from ROOT::Math::IRootFinderMethod
virtual ~IRootFinderMethod ()
 Default Destructor. More...
 
 IRootFinderMethod ()
 Default Constructor. More...
 
virtual bool SetFunction (const ROOT::Math::IGradFunction &, double)
 Sets the function for algorithms using derivatives. More...
 

Private Member Functions

 Bisection (const Bisection &)
 
Bisectionoperator= (const Bisection &)
 

Additional Inherited Members

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

#include <Math/RootFinderAlgorithms.h>

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

Constructor & Destructor Documentation

ROOT::Math::Roots::Bisection::Bisection ( )

Definition at line 46 of file RootFinderAlgorithms.cxx.

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

Definition at line 53 of file RootFinderAlgorithms.cxx.

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

Definition at line 59 of file RootFinderAlgorithms.cxx.

Member Function Documentation

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

Definition at line 64 of file RootFinderAlgorithms.cxx.

Collaboration diagram for ROOT::Math::Roots::Bisection:
[legend]

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