ROOT
6.07/01
Reference Guide
|
a Newton algorithm, which computes the derivative at each iteration See the GSL manual for more information
Definition at line 136 of file RootFinderAlgorithms.h.
Public Member Functions | |
Newton () | |
virtual | ~Newton () |
Public Member Functions inherited from ROOT::Math::GSLRootFinderDeriv | |
GSLRootFinderDeriv () | |
virtual | ~GSLRootFinderDeriv () |
bool | SetFunction (const IGradFunction &f, double xstart) |
Sets the function for algorithms using derivatives. More... | |
bool | SetFunction (GSLFuncPointer f, GSLFuncPointer df, GSLFdFPointer fdf, void *p, double Root) |
int | Iterate () |
iterate (return GSL_SUCCESS in case of successful iteration) 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 (return false if failed) More... | |
int | Iterations () const |
Return number of iterations. More... | |
int | Status () const |
Return the status of last root finding. More... | |
const char * | Name () const |
Return name of root finder algorithm. More... | |
Public Member Functions inherited from ROOT::Math::IRootFinderMethod | |
virtual | ~IRootFinderMethod () |
Default Destructor. More... | |
IRootFinderMethod () | |
Default Constructor. More... | |
virtual bool | SetFunction (const ROOT::Math::IGenFunction &, double, double) |
Sets the function for the rest of the algorithms. More... | |
Private Member Functions | |
Newton (const Newton &) | |
Newton & | operator= (const Newton &) |
Additional Inherited Members | |
Public Types inherited from ROOT::Math::GSLRootFinderDeriv | |
typedef double(* | GSLFuncPointer )(double, void *) |
typedef void(* | GSLFdFPointer )(double, void *, double *, double *) |
Protected Member Functions inherited from ROOT::Math::GSLRootFinderDeriv | |
void | SetSolver (GSLRootFdFSolver *s) |
void | FreeSolver () |
#include <Math/RootFinderAlgorithms.h>
ROOT::Math::Roots::Newton::Newton | ( | ) |
Definition at line 133 of file RootFinderAlgorithms.cxx.
|
virtual |
Definition at line 140 of file RootFinderAlgorithms.cxx.
|
private |
Definition at line 146 of file RootFinderAlgorithms.cxx.
Definition at line 151 of file RootFinderAlgorithms.cxx.