16#ifndef MATH_NO_PLUGIN_MANAGER
97#ifdef MATH_NO_PLUGIN_MANAGER
141 if (
this == &opt)
return *
this;
203 os << std::setw(25) <<
"Minimizer Type" <<
" : " << std::setw(15) <<
fMinimType << std::endl;
204 os << std::setw(25) <<
"Minimizer Algorithm" <<
" : " << std::setw(15) <<
fAlgoType << std::endl;
205 os << std::setw(25) <<
"Strategy" <<
" : " << std::setw(15) <<
fStrategy << std::endl;
206 os << std::setw(25) <<
"Tolerance" <<
" : " << std::setw(15) <<
fTolerance << std::endl;
207 os << std::setw(25) <<
"Max func calls" <<
" : " << std::setw(15) <<
fMaxCalls << std::endl;
208 os << std::setw(25) <<
"Max iterations" <<
" : " << std::setw(15) <<
fMaxIter << std::endl;
209 os << std::setw(25) <<
"Func Precision" <<
" : " << std::setw(15) <<
fPrecision << std::endl;
210 os << std::setw(25) <<
"Error definition" <<
" : " << std::setw(15) <<
fErrorDef << std::endl;
211 os << std::setw(25) <<
"Print Level" <<
" : " << std::setw(15) <<
fLevel << std::endl;
214 os <<
fMinimType <<
" specific options :" << std::endl;
235 os <<
"Specific options for " <<
name << std::endl;
236 if (opt) opt->
Print(os);
#define R__WRITE_LOCKGUARD(mutex)
#define R__READ_LOCKGUARD(mutex)
static IOptions & Default(const char *algoname)
static IOptions * FindDefault(const char *algoname)
Generic interface for defining configuration options of a numerical algorithm.
virtual void Print(std::ostream &=std::cout) const
print options
virtual IOptions * Clone() const =0
MinimizerOptions & operator=(const MinimizerOptions &opt)
assignment operators
static int DefaultPrintLevel()
static double DefaultPrecision()
static void SetDefaultMinimizer(const char *type, const char *algo=0)
static ROOT::Math::IOptions & Default(const char *name)
retrieve extra options - if not existing create a IOptions
static void SetDefaultMaxFunctionCalls(int maxcall)
const IOptions * ExtraOptions() const
return extra options (NULL pointer if they are not present)
static ROOT::Math::IOptions * FindDefault(const char *name)
static double DefaultTolerance()
static void SetDefaultExtraOptions(const IOptions *extraoptions)
static IOptions * DefaultExtraOptions()
static void SetDefaultMaxIterations(int maxiter)
static void SetDefaultErrorDef(double up)
static void SetDefaultStrategy(int strat)
static void SetDefaultPrecision(double prec)
static const std::string & DefaultMinimizerType()
void SetExtraOptions(const IOptions &opt)
set extra options (in this case pointer is cloned)
static void PrintDefault(const char *name, std::ostream &os=std::cout)
print all the default options for the name given
static const std::string & DefaultMinimizerAlgo()
static void SetDefaultPrintLevel(int level)
static int DefaultMaxFunctionCalls()
ROOT::Math::IOptions * fExtraOptions
static int DefaultStrategy()
void ResetToDefaultOptions()
non-static methods for setting options
static void SetDefaultTolerance(double tol)
void Print(std::ostream &os=std::cout) const
print all the options
static int DefaultMaxIterations()
static double DefaultErrorDef()
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
Namespace for new Math classes and functions.
static double gDefaultPrecision
static int gDefaultPrintLevel
static int gDefaultStrategy
static std::string gDefaultMinimAlgo
static double gDefaultTolerance
static int gDefaultMaxCalls
static int gDefaultMaxIter
static double gDefaultErrorDef
static std::string gDefaultMinimizer
static IOptions * gDefaultExtraOptions
R__EXTERN TVirtualRWMutex * gCoreMutex