GSLQRngWrapper class to wrap gsl_qrng structure.
Definition at line 26 of file GSLQRngWrapper.h.
Public Member Functions | |
| GSLQRngWrapper () | |
| Default constructor. | |
| GSLQRngWrapper (const gsl_qrng *r) | |
| construct from an existing gsl_qrng it is managed externally - so will not be deleted at the end | |
| GSLQRngWrapper (const gsl_qrng_type *type) | |
| Constructor with type. | |
| GSLQRngWrapper (GSLQRngWrapper &r) | |
| Copy constructor - clone the GSL object and manage it. | |
| ~GSLQRngWrapper () | |
| Destructor (free the rng if not done before). | |
| void | Allocate (unsigned int dimension) |
| unsigned int | Dimension () const |
| void | Free () |
| GSLQRngWrapper & | operator= (const GSLQRngWrapper &rhs) |
| Assignment operator. | |
| gsl_qrng * | Rng () |
| const gsl_qrng * | Rng () const |
| void | SetDefaultType () |
| void | SetType (const gsl_qrng_type *type) |
Private Attributes | |
| bool | fOwn |
| gsl_qrng * | fRng |
| const gsl_qrng_type * | fRngType |
|
inline |
Default constructor.
Definition at line 34 of file GSLQRngWrapper.h.
|
inline |
Constructor with type.
Definition at line 44 of file GSLQRngWrapper.h.
|
inline |
construct from an existing gsl_qrng it is managed externally - so will not be deleted at the end
Definition at line 55 of file GSLQRngWrapper.h.
|
inline |
Copy constructor - clone the GSL object and manage it.
Definition at line 65 of file GSLQRngWrapper.h.
|
inline |
Destructor (free the rng if not done before).
Definition at line 93 of file GSLQRngWrapper.h.
|
inline |
Definition at line 97 of file GSLQRngWrapper.h.
|
inline |
Definition at line 122 of file GSLQRngWrapper.h.
|
inline |
Definition at line 104 of file GSLQRngWrapper.h.
|
inline |
Assignment operator.
Definition at line 75 of file GSLQRngWrapper.h.
|
inline |
Definition at line 124 of file GSLQRngWrapper.h.
|
inline |
Definition at line 126 of file GSLQRngWrapper.h.
|
inline |
Definition at line 116 of file GSLQRngWrapper.h.
|
inline |
Definition at line 112 of file GSLQRngWrapper.h.
|
private |
Definition at line 132 of file GSLQRngWrapper.h.
|
private |
Definition at line 133 of file GSLQRngWrapper.h.
|
private |
Definition at line 134 of file GSLQRngWrapper.h.