class GslRandomGen C++ wrapper for GSL/GSL-style generators.
More...
#include <gslrandomgen.h>
|
Static Public Attributes inherited from librandom::RandomGen |
| static const unsigned long | DefaultSeed = 0xd37ca59fUL |
| | Default value for seeding generators in places where no seed is supplied. More...
|
| |
class GslRandomGen C++ wrapper for GSL/GSL-style generators.
- Note
- This class should only be used within librandom.
| librandom::GslRandomGen::GslRandomGen |
( |
const gsl_rng_type * |
type, |
|
|
unsigned long |
seed |
|
) |
| |
|
explicit |
| librandom::GslRandomGen::~GslRandomGen |
( |
| ) |
|
| librandom::GslRandomGen::GslRandomGen |
( |
| ) |
|
|
inlineprivate |
| librandom::GslRandomGen::~GslRandomGen |
( |
| ) |
|
|
inlineprivate |
| void librandom::GslRandomGen::add_gsl_rngs |
( |
Dictionary & |
rngdict | ) |
|
|
static |
| static void librandom::GslRandomGen::add_gsl_rngs |
( |
Dictionary & |
| ) |
|
|
inlinestatic |
Add all GSL RNGs to rngdict Do nothing if GSL not available.
| RngPtr librandom::GslRandomGen::clone |
( |
unsigned long |
long | ) |
|
|
inlinevirtual |
| double librandom::GslRandomGen::drand_ |
( |
void |
| ) |
|
|
inlineprivatevirtual |
| void librandom::GslRandomGen::seed_ |
( |
unsigned |
long | ) |
|
|
inlineprivatevirtual |
The following functions provide the interface to the actual random generator.
They must be implemented by each derived generator class.seeding interface
Implements librandom::RandomGen.
References rng_.
| gsl_rng* librandom::GslRandomGen::rng_ |
|
private |
| gsl_rng_type const* librandom::GslRandomGen::rng_type_ |
|
private |
The documentation for this class was generated from the following files: