16 #ifndef MATH_NO_PLUGIN_MANAGER 96 #ifndef MATH_NO_PLUGIN_MANAGER 125 if (
this == &opt)
return *
this;
187 os << std::setw(25) <<
"Minimizer Type" <<
" : " << std::setw(15) <<
fMinimType << std::endl;
188 os << std::setw(25) <<
"Minimizer Algorithm" <<
" : " << std::setw(15) <<
fAlgoType << std::endl;
189 os << std::setw(25) <<
"Strategy" <<
" : " << std::setw(15) <<
fStrategy << std::endl;
190 os << std::setw(25) <<
"Tolerance" <<
" : " << std::setw(15) <<
fTolerance << std::endl;
191 os << std::setw(25) <<
"Max func calls" <<
" : " << std::setw(15) <<
fMaxCalls << std::endl;
192 os << std::setw(25) <<
"Max iterations" <<
" : " << std::setw(15) <<
fMaxIter << std::endl;
193 os << std::setw(25) <<
"Func Precision" <<
" : " << std::setw(15) <<
fPrecision << std::endl;
194 os << std::setw(25) <<
"Error definition" <<
" : " << std::setw(15) <<
fErrorDef << std::endl;
195 os << std::setw(25) <<
"Print Level" <<
" : " << std::setw(15) <<
fLevel << std::endl;
198 os <<
fMinimType <<
" specific options :" << std::endl;
219 os <<
"Specific options for " << name << std::endl;
220 if (opt) opt->
Print(os);
static IOptions * gDefaultExtraOptions
static int DefaultMaxFunctionCalls()
Namespace for new ROOT classes and functions.
void Print(std::ostream &os=std::cout) const
print all the options
static int DefaultStrategy()
static IOptions * DefaultExtraOptions()
virtual void Print(std::ostream &=std::cout) const
print options
static int gDefaultMaxCalls
const IOptions * ExtraOptions() const
return extra options (NULL pointer if they are not present)
static void SetDefaultExtraOptions(const IOptions *extraoptions)
static double gDefaultPrecision
static void SetDefaultMaxIterations(int maxiter)
static ROOT::Math::IOptions & Default(const char *name)
retrieve extra options - if not existing create a IOptions
void ResetToDefaultOptions()
non-static methods for setting options
static std::string gDefaultMinimAlgo
static void SetDefaultPrintLevel(int level)
MinimizerOptions & operator=(const MinimizerOptions &opt)
assignment operators
static double DefaultPrecision()
static int gDefaultStrategy
void SetExtraOptions(const IOptions &opt)
set extra options (in this case pointer is cloned)
static void SetDefaultErrorDef(double up)
static void SetDefaultStrategy(int strat)
static void SetDefaultMaxFunctionCalls(int maxcall)
static ROOT::Math::IOptions * FindDefault(const char *name)
static const std::string & DefaultMinimizerType()
static void PrintDefault(const char *name, std::ostream &os=std::cout)
print all the default options for the name given
ROOT::Math::IOptions * fExtraOptions
static double gDefaultTolerance
static int DefaultPrintLevel()
static double DefaultErrorDef()
virtual IOptions * Clone() const =0
static int gDefaultPrintLevel
static std::string gDefaultMinimizer
static int DefaultMaxIterations()
static const std::string & DefaultMinimizerAlgo()
static double gDefaultErrorDef
static void SetDefaultTolerance(double tol)
static void SetDefaultPrecision(double prec)
Namespace for new Math classes and functions.
static IOptions & Default(const char *algoname)
Generic interface for defining configuration options of a numerical algorithm.
static int gDefaultMaxIter
static IOptions * FindDefault(const char *algoname)
static void SetDefaultMinimizer(const char *type, const char *algo=0)
static double DefaultTolerance()