NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Private Attributes | List of all members
librandom::GslRNGFactory Class Reference

Factory class for GSL-based random generators. More...

#include <gslrandomgen.h>

Inheritance diagram for librandom::GslRNGFactory:
librandom::GenericRNGFactory

Public Member Functions

 GslRNGFactory (gsl_rng_type const *const)
 
RngPtr create (unsigned long) const
 Create generator with given seed. More...
 
- Public Member Functions inherited from librandom::GenericRNGFactory
virtual ~GenericRNGFactory ()
 

Private Attributes

gsl_rng_type const *const gsl_rng_
 GSL generator type information. More...
 

Detailed Description

Factory class for GSL-based random generators.

Constructor & Destructor Documentation

librandom::GslRNGFactory::GslRNGFactory ( gsl_rng_type const * const  t)

References assert().

Member Function Documentation

librandom::RngPtr librandom::GslRNGFactory::create ( unsigned  long) const
virtual

Create generator with given seed.

Note
Generators cannot be created without a seed. If you want to create a generator with a default seed value, you should explicitly use RandomGen::DefaultSeed as seed value.

Implements librandom::GenericRNGFactory.

Member Data Documentation

gsl_rng_type const* const librandom::GslRNGFactory::gsl_rng_
private

GSL generator type information.


The documentation for this class was generated from the following files: