Numerical one dimensional integration options.
Definition at line 113 of file IntegratorOptions.h.
Public Member Functions | |
IntegratorOneDimOptions (const IntegratorOneDimOptions &rhs) | |
copy constructor | |
IntegratorOneDimOptions (IOptions *extraOpts=nullptr) | |
constructor using the default options can pass a pointer to extra options (N.B. | |
~IntegratorOneDimOptions () override | |
std::string | Integrator () const override |
name of 1D integrator | |
IntegrationOneDim::Type | IntegratorType () const |
type of the integrator (return the enumeration type) | |
unsigned int | NPoints () const |
Number of points used by current integration rule. | |
IntegratorOneDimOptions & | operator= (const IntegratorOneDimOptions &rhs) |
assignment operator | |
void | Print (std::ostream &os=std::cout) const |
print all the options | |
void | SetIntegrator (const char *name) |
set 1D integrator name | |
void | SetNPoints (unsigned int n) |
Set number of points for active integration rule. | |
Public Member Functions inherited from ROOT::Math::BaseIntegratorOptions | |
BaseIntegratorOptions (const BaseIntegratorOptions &opt) | |
virtual | ~BaseIntegratorOptions () |
protected constructor to avoid user creating this class | |
double | AbsTolerance () const |
non-static methods for retrieving options | |
IOptions * | ExtraOptions () const |
return extra options | |
BaseIntegratorOptions & | operator= (const BaseIntegratorOptions &opt) |
assignment operators | |
double | RelTolerance () const |
absolute tolerance | |
void | SetAbsTolerance (double tol) |
non-static methods for setting options | |
void | SetExtraOptions (const IOptions &opt) |
set extra options (in this case pointer is cloned) | |
void | SetRelTolerance (double tol) |
set the relative tolerance | |
void | SetWKSize (unsigned int size) |
set workspace size | |
unsigned int | WKSize () const |
size of the workspace | |
Static Public Member Functions | |
static ROOT::Math::IOptions & | Default (const char *name) |
retrieve specific options - if not existing create a IOptions | |
static double | DefaultAbsTolerance () |
static std::string | DefaultIntegrator () |
static IntegrationOneDim::Type | DefaultIntegratorType () |
static unsigned int | DefaultNPoints () |
static double | DefaultRelTolerance () |
static unsigned int | DefaultWKSize () |
static ROOT::Math::IOptions * | FindDefault (const char *name) |
find specific options - return 0 if not existing | |
static void | PrintDefault (const char *name=nullptr, std::ostream &os=std::cout) |
print only the specified default options | |
static void | SetDefaultAbsTolerance (double tol) |
static void | SetDefaultIntegrator (const char *name) |
static void | SetDefaultNPoints (unsigned int n) |
static void | SetDefaultRelTolerance (double tol) |
static void | SetDefaultWKSize (unsigned int size) |
Additional Inherited Members | |
Protected Member Functions inherited from ROOT::Math::BaseIntegratorOptions | |
BaseIntegratorOptions () | |
protected constructor to avoid user creating this class | |
void | ClearExtra () |
Protected Attributes inherited from ROOT::Math::BaseIntegratorOptions | |
double | fAbsTolerance |
absolute tolerance | |
ROOT::Math::IOptions * | fExtraOptions |
int | fIntegType |
Integrator type (value converted from enum) | |
unsigned int | fNCalls |
(max) function calls | |
double | fRelTolerance |
relative tolerance | |
unsigned int | fWKSize |
workspace size | |
#include <Math/IntegratorOptions.h>
ROOT::Math::IntegratorOneDimOptions::IntegratorOneDimOptions | ( | IOptions * | extraOpts = nullptr | ) |
constructor using the default options can pass a pointer to extra options (N.B.
pointer will be managed by the class)
Definition at line 179 of file IntegratorOptions.cxx.
|
inlineoverride |
Definition at line 122 of file IntegratorOptions.h.
|
inline |
copy constructor
Definition at line 125 of file IntegratorOptions.h.
|
static |
retrieve specific options - if not existing create a IOptions
Definition at line 272 of file IntegratorOptions.cxx.
|
static |
Definition at line 266 of file IntegratorOptions.cxx.
|
static |
Definition at line 236 of file IntegratorOptions.cxx.
|
static |
Definition at line 241 of file IntegratorOptions.cxx.
|
static |
Definition at line 269 of file IntegratorOptions.cxx.
|
static |
Definition at line 267 of file IntegratorOptions.cxx.
|
static |
Definition at line 268 of file IntegratorOptions.cxx.
|
static |
find specific options - return 0 if not existing
Definition at line 277 of file IntegratorOptions.cxx.
|
overridevirtual |
name of 1D integrator
Implements ROOT::Math::BaseIntegratorOptions.
Definition at line 204 of file IntegratorOptions.cxx.
|
inline |
type of the integrator (return the enumeration type)
Definition at line 149 of file IntegratorOptions.h.
|
inline |
Number of points used by current integration rule.
Definition at line 143 of file IntegratorOptions.h.
|
inline |
assignment operator
Definition at line 130 of file IntegratorOptions.h.
void ROOT::Math::IntegratorOneDimOptions::Print | ( | std::ostream & | os = std::cout | ) | const |
print all the options
Definition at line 208 of file IntegratorOptions.cxx.
|
static |
print only the specified default options
print default options
Definition at line 216 of file IntegratorOptions.cxx.
|
static |
Definition at line 247 of file IntegratorOptions.cxx.
|
static |
Definition at line 223 of file IntegratorOptions.cxx.
|
static |
Definition at line 260 of file IntegratorOptions.cxx.
|
static |
Definition at line 251 of file IntegratorOptions.cxx.
|
static |
Definition at line 256 of file IntegratorOptions.cxx.
void ROOT::Math::IntegratorOneDimOptions::SetIntegrator | ( | const char * | name | ) |
set 1D integrator name
Definition at line 198 of file IntegratorOptions.cxx.
|
inline |
Set number of points for active integration rule.
n = 1,2,3,4,5,6
correspond to the 15,21,31,41,51,61-point integration rules.Definition at line 140 of file IntegratorOptions.h.