ROOT  6.06/08
Reference Guide
Public Member Functions | Private Member Functions | List of all members
ROOT::Math::GSLMultiRootBaseSolver Class Referenceabstract

GSLMultiRootBaseSolver, internal class for implementing GSL multi-root finders This is the base class for GSLMultiRootSolver (solver not using derivatives) and GSLMUltiRootDerivSolver (solver using derivatives)

Definition at line 57 of file GSLMultiRootSolver.h.

Public Member Functions

virtual ~GSLMultiRootBaseSolver ()
 virtual Destructor More...
 
bool InitSolver (const std::vector< ROOT::Math::IMultiGenFunction *> &funcVec, const double *x)
 init the solver with function list and initial values More...
 
virtual std::string Name () const =0
 return name More...
 
virtual int Iterate ()=0
 perform an iteration More...
 
const double * X () const
 solution values at the current iteration More...
 
const double * FVal () const
 return function values More...
 
const double * Dx () const
 return function steps More...
 
int TestDelta (double absTol, double relTol) const
 test using abs and relative tolerance |dx| < absTol + relTol*|x| for every component More...
 
int TestResidual (double absTol) const
 test using abs tolerance Sum |f|_i < absTol More...
 

Private Member Functions

virtual int SetSolver (const std::vector< ROOT::Math::IMultiGenFunction *> &funcVec, const double *x)=0
 
virtual gsl_vector * GetRoot () const =0
 
virtual gsl_vector * GetF () const =0
 
virtual gsl_vector * GetDx () const =0
 

#include </builddir/build/BUILD/root-6.06.08/math/mathmore/src/GSLMultiRootSolver.h>

+ Inheritance diagram for ROOT::Math::GSLMultiRootBaseSolver:

Constructor & Destructor Documentation

§ ~GSLMultiRootBaseSolver()

virtual ROOT::Math::GSLMultiRootBaseSolver::~GSLMultiRootBaseSolver ( )
inlinevirtual

virtual Destructor

Definition at line 64 of file GSLMultiRootSolver.h.

Member Function Documentation

§ Dx()

const double* ROOT::Math::GSLMultiRootBaseSolver::Dx ( ) const
inline

return function steps

Definition at line 110 of file GSLMultiRootSolver.h.

Referenced by ROOT::Math::GSLMultiRootFinder::Dx().

§ FVal()

const double* ROOT::Math::GSLMultiRootBaseSolver::FVal ( ) const
inline

return function values

Definition at line 104 of file GSLMultiRootSolver.h.

Referenced by ROOT::Math::GSLMultiRootFinder::FVal(), and ROOT::Math::GSLMultiRootFinder::PrintState().

§ GetDx()

virtual gsl_vector* ROOT::Math::GSLMultiRootBaseSolver::GetDx ( ) const
privatepure virtual

§ GetF()

virtual gsl_vector* ROOT::Math::GSLMultiRootBaseSolver::GetF ( ) const
privatepure virtual

§ GetRoot()

virtual gsl_vector* ROOT::Math::GSLMultiRootBaseSolver::GetRoot ( ) const
privatepure virtual

§ InitSolver()

bool ROOT::Math::GSLMultiRootBaseSolver::InitSolver ( const std::vector< ROOT::Math::IMultiGenFunction *> &  funcVec,
const double *  x 
)
inline

init the solver with function list and initial values

Definition at line 71 of file GSLMultiRootSolver.h.

Referenced by ROOT::Math::GSLMultiRootFinder::Solve().

§ Iterate()

virtual int ROOT::Math::GSLMultiRootBaseSolver::Iterate ( )
pure virtual

§ Name()

virtual std::string ROOT::Math::GSLMultiRootBaseSolver::Name ( ) const
pure virtual

§ SetSolver()

virtual int ROOT::Math::GSLMultiRootBaseSolver::SetSolver ( const std::vector< ROOT::Math::IMultiGenFunction *> &  funcVec,
const double *  x 
)
privatepure virtual

§ TestDelta()

int ROOT::Math::GSLMultiRootBaseSolver::TestDelta ( double  absTol,
double  relTol 
) const
inline

test using abs and relative tolerance |dx| < absTol + relTol*|x| for every component

Definition at line 117 of file GSLMultiRootSolver.h.

Referenced by ROOT::Math::GSLMultiRootFinder::Solve().

§ TestResidual()

int ROOT::Math::GSLMultiRootBaseSolver::TestResidual ( double  absTol) const
inline

test using abs tolerance Sum |f|_i < absTol

Definition at line 126 of file GSLMultiRootSolver.h.

Referenced by ROOT::Math::GSLMultiRootFinder::Solve().

§ X()

const double* ROOT::Math::GSLMultiRootBaseSolver::X ( ) const
inline

solution values at the current iteration

Definition at line 98 of file GSLMultiRootSolver.h.

Referenced by ROOT::Math::GSLMultiRootFinder::PrintState(), and ROOT::Math::GSLMultiRootFinder::X().


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