KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
kjb::Gsl_Qrng_Halton Class Reference

Quasi-random generator using the algorithm of Halton. More...

#include <gsl_qrng.h>

Inheritance diagram for kjb::Gsl_Qrng_Halton:
kjb::Gsl_Qrng_basic< GSL_QRNG_HALTON >

Public Member Functions

 Gsl_Qrng_Halton (unsigned dimensions)
 ctor for Halton QRNG of given number of dimensions More...
 
- Public Member Functions inherited from kjb::Gsl_Qrng_basic< GSL_QRNG_HALTON >
 Gsl_Qrng_basic (unsigned dimensions, const gsl_qrng_type *qtype, unsigned maxdim)
 ctor builds the quasi-random generator More...
 
 Gsl_Qrng_basic (const Gsl_Qrng_basic< KIND > &that)
 copy ctor More...
 
 ~Gsl_Qrng_basic ()
 
void read (double *destination)
 The old-fashioned way to read a quasi-random sample. More...
 
Vector read ()
 Best way to read a single random sample of known dimensionality. More...
 
const char * name () const
 
unsigned get_dimensions () const
 
void swap (Gsl_Qrng_basic< KIND > &that)
 swap two generators More...
 
Gsl_Qrng_basic< KIND > & operator= (const Gsl_Qrng_basic< KIND > &that)
 assignment operator More...
 

Detailed Description

Quasi-random generator using the algorithm of Halton.

This algorithm supports up to 1229 dimensions. The citation is found here: http://www.gnu.org/software/gsl/manual/html_node/Quasi_002drandom-number-generator-algorithms.html

I recommend you use this or a similar derived class instead of using the Gsl_Qrng_basic base class.

Constructor & Destructor Documentation

kjb::Gsl_Qrng_Halton::Gsl_Qrng_Halton ( unsigned  dimensions)
inline

ctor for Halton QRNG of given number of dimensions


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