GSLRngWrapper class to wrap gsl_rng structure.
Definition at line 25 of file GSLRngWrapper.h.
Public Member Functions | |
| GSLRngWrapper () | |
| Default constructor. | |
| GSLRngWrapper (const gsl_rng *r) | |
| construct from an existing gsl_rng it is managed externally - so will not be deleted at the end | |
| GSLRngWrapper (const gsl_rng_type *type) | |
| Constructor with type. | |
| GSLRngWrapper (GSLRngWrapper &r) | |
| Copy constructor - clone the GSL object and manage it. | |
| ~GSLRngWrapper () | |
| Destructor (free the rng if not done before). | |
| void | Allocate () |
| void | Free () |
| GSLRngWrapper & | operator= (const GSLRngWrapper &rhs) |
| Assignment operator. | |
| void | PrintState () const |
| gsl_rng * | Rng () |
| const gsl_rng * | Rng () const |
| void | SetDefaultType () |
| void | SetType (const gsl_rng_type *type) |
Private Attributes | |
| bool | fOwn |
| gsl_rng * | fRng |
| const gsl_rng_type * | fRngType |
|
inline |
Default constructor.
Definition at line 33 of file GSLRngWrapper.h.
|
inline |
Constructor with type.
Definition at line 43 of file GSLRngWrapper.h.
|
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.
|
inline |
Copy constructor - clone the GSL object and manage it.
Definition at line 64 of file GSLRngWrapper.h.
|
inline |
Destructor (free the rng if not done before).
Definition at line 92 of file GSLRngWrapper.h.
|
inline |
Definition at line 96 of file GSLRngWrapper.h.
|
inline |
Definition at line 103 of file GSLRngWrapper.h.
|
inline |
Assignment operator.
Definition at line 74 of file GSLRngWrapper.h.
|
inline |
Definition at line 121 of file GSLRngWrapper.h.
|
inline |
Definition at line 125 of file GSLRngWrapper.h.
|
inline |
Definition at line 127 of file GSLRngWrapper.h.
|
inline |
Definition at line 115 of file GSLRngWrapper.h.
|
inline |
Definition at line 111 of file GSLRngWrapper.h.
|
private |
Definition at line 133 of file GSLRngWrapper.h.
|
private |
Definition at line 134 of file GSLRngWrapper.h.
|
private |
Definition at line 135 of file GSLRngWrapper.h.