![]() |
ROOT 6.12/07 Reference Guide |
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 57 of file RootFinderAlgorithms.h.
Public Member Functions | |
Bisection () | |
virtual | ~Bisection () |
![]() | |
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... | |
![]() | |
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 | |
Bisection (const Bisection &) | |
Bisection & | operator= (const Bisection &) |
Additional Inherited Members | |
![]() | |
typedef double(* | GSLFuncPointer) (double, void *) |
![]() | |
void | FreeSolver () |
void | SetSolver (GSLRootFSolver *s) |
#include <Math/RootFinderAlgorithms.h>
ROOT::Math::Roots::Bisection::Bisection | ( | ) |
Definition at line 46 of file RootFinderAlgorithms.cxx.
|
virtual |
Definition at line 53 of file RootFinderAlgorithms.cxx.
|
private |
Definition at line 59 of file RootFinderAlgorithms.cxx.
Definition at line 64 of file RootFinderAlgorithms.cxx.