GSLRngWrapper class to wrap gsl_rng structure
Definition at line 25 of file GSLRngWrapper.h.
◆ GSLRngWrapper() [1/4]
ROOT::Math::GSLRngWrapper::GSLRngWrapper |
( |
| ) |
|
|
inline |
Default constructor
Definition at line 33 of file GSLRngWrapper.h.
const gsl_rng_type * fRngType
◆ GSLRngWrapper() [2/4]
ROOT::Math::GSLRngWrapper::GSLRngWrapper |
( |
const gsl_rng_type * |
type | ) |
|
|
inline |
◆ GSLRngWrapper() [3/4]
ROOT::Math::GSLRngWrapper::GSLRngWrapper |
( |
const gsl_rng * |
r | ) |
|
|
inline |
construct from an existing gsl_rng it is managed externally - so will not be deleted at the end
Definition at line 54 of file GSLRngWrapper.h.
58 fRng =
const_cast<gsl_rng *
>(r);
References fRng.
◆ GSLRngWrapper() [4/4]
Copy constructor - clone the GSL object and manage it
Definition at line 64 of file GSLRngWrapper.h.
68 fRng = gsl_rng_clone(r.fRng);
References fRng.
◆ ~GSLRngWrapper()
ROOT::Math::GSLRngWrapper::~GSLRngWrapper |
( |
| ) |
|
|
inline |
◆ Allocate()
void ROOT::Math::GSLRngWrapper::Allocate |
( |
| ) |
|
|
inline |
◆ Free()
void ROOT::Math::GSLRngWrapper::Free |
( |
| ) |
|
|
inline |
◆ operator=()
Assignment operator
Definition at line 74 of file GSLRngWrapper.h.
75 if (
this == &rhs)
return *
this;
79 iret = gsl_rng_memcpy(
fRng, rhs.fRng);
80 if (!iret)
return *
this;
84 fRng = gsl_rng_clone(rhs.fRng);
References fOwn, Free(), fRng, and fRngType.
◆ PrintState()
void ROOT::Math::GSLRngWrapper::PrintState |
( |
| ) |
const |
|
inline |
◆ Rng() [1/2]
gsl_rng* ROOT::Math::GSLRngWrapper::Rng |
( |
| ) |
|
|
inline |
◆ Rng() [2/2]
const gsl_rng* ROOT::Math::GSLRngWrapper::Rng |
( |
| ) |
const |
|
inline |
◆ SetDefaultType()
void ROOT::Math::GSLRngWrapper::SetDefaultType |
( |
| ) |
|
|
inline |
◆ SetType()
void ROOT::Math::GSLRngWrapper::SetType |
( |
const gsl_rng_type * |
type | ) |
|
|
inline |
◆ fOwn
bool ROOT::Math::GSLRngWrapper::fOwn |
|
private |
◆ fRng
gsl_rng* ROOT::Math::GSLRngWrapper::fRng |
|
private |
◆ fRngType
const gsl_rng_type* ROOT::Math::GSLRngWrapper::fRngType |
|
private |
The documentation for this class was generated from the following file:
- /home/build/builds/o5h8MZZm/0/mlz/bornagain/Fit/3rdparty/RootMinimizers/mathcore/Math/GSLRngWrapper.h