CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EquationSolver.cc
Go to the documentation of this file.
1 /*
2 
3 Nikolai Amelin, Ludmila Malinina, Timur Pocheptsov (C) JINR/Dubna
4 amelin@sunhe.jinr.ru, malinina@sunhe.jinr.ru, pocheptsov@sunhe.jinr.ru
5 November. 2, 2006
6 
7 */
8 
9 //This equation solver class is taken from GEANT4 and modified!!
10 
12 
13 template <class Function>
15  fMaxIter = right.GetMaxIterations();
16  fTolerance = right.GetTolerance();
17  fA = right.GetIntervalLowerLimit();
18  fB = right.GetIntervalUpperLimit();
19  fRoot = right.GetRoot();
20 }
21 
22 // operators
23 template <class Function>
25  fMaxIter = right.GetMaxIterations();
26  fTolerance = right.GetTolerance();
27  fA = right.GetIntervalLowerLimit();
28  fB = right.GetIntervalUpperLimit();
29  fRoot = right.GetRoot();
30  return *this;
31 }
32 
33 template <class Function>
35  if (this == &right) return true;
36  else return false;
37 }
38 
39 template <class Function>
41  return !operator==(right);
42 }
43 
bool operator==(const NAEquationSolver &right) const
NAEquationSolver & operator=(const NAEquationSolver &right)
double GetRoot(void) const
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
int GetMaxIterations(void) const
double GetIntervalLowerLimit(void) const
bool operator!=(const NAEquationSolver &right) const
double GetTolerance(void) const
double GetIntervalUpperLimit(void) const