ROOT  6.06/09
Reference Guide
Public Member Functions | Private Attributes | List of all members
ROOT::Math::GSLQRngWrapper Class Reference

GSLQRngWrapper class to wrap gsl_qrng structure.

Definition at line 26 of file GSLQRngWrapper.h.

Public Member Functions

 GSLQRngWrapper ()
 Default constructor. More...
 
 GSLQRngWrapper (const gsl_qrng_type *type)
 Constructor with type. More...
 
 GSLQRngWrapper (const gsl_qrng *r)
 construct from an existing gsl_qrng it is managed externally - so will not be deleted at the end More...
 
 GSLQRngWrapper (GSLQRngWrapper &r)
 Copy constructor - clone the GSL object and manage it. More...
 
GSLQRngWrapperoperator= (const GSLQRngWrapper &rhs)
 Assignment operator. More...
 
 ~GSLQRngWrapper ()
 Destructor (free the rng if not done before) More...
 
void Allocate (unsigned int dimension)
 
void Free ()
 
void SetType (const gsl_qrng_type *type)
 
void SetDefaultType ()
 
unsigned int Dimension () const
 
gsl_qrng * Rng ()
 
const gsl_qrng * Rng () const
 

Private Attributes

bool fOwn
 
gsl_qrng * fRng
 
const gsl_qrng_type * fRngType
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/math/mathmore/src/GSLQRngWrapper.h>

Constructor & Destructor Documentation

ROOT::Math::GSLQRngWrapper::GSLQRngWrapper ( )
inline

Default constructor.

Definition at line 34 of file GSLQRngWrapper.h.

ROOT::Math::GSLQRngWrapper::GSLQRngWrapper ( const gsl_qrng_type *  type)
inline

Constructor with type.

Definition at line 44 of file GSLQRngWrapper.h.

ROOT::Math::GSLQRngWrapper::GSLQRngWrapper ( const gsl_qrng *  r)
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.

ROOT::Math::GSLQRngWrapper::GSLQRngWrapper ( GSLQRngWrapper r)
inline

Copy constructor - clone the GSL object and manage it.

Definition at line 65 of file GSLQRngWrapper.h.

ROOT::Math::GSLQRngWrapper::~GSLQRngWrapper ( )
inline

Destructor (free the rng if not done before)

Definition at line 93 of file GSLQRngWrapper.h.

Member Function Documentation

void ROOT::Math::GSLQRngWrapper::Allocate ( unsigned int  dimension)
inline

Definition at line 97 of file GSLQRngWrapper.h.

Referenced by ROOT::Math::GSLQuasiRandomEngine::Initialize().

unsigned int ROOT::Math::GSLQRngWrapper::Dimension ( ) const
inline
void ROOT::Math::GSLQRngWrapper::Free ( )
inline
GSLQRngWrapper& ROOT::Math::GSLQRngWrapper::operator= ( const GSLQRngWrapper rhs)
inline

Assignment operator.

Definition at line 75 of file GSLQRngWrapper.h.

gsl_qrng* ROOT::Math::GSLQRngWrapper::Rng ( )
inline
const gsl_qrng* ROOT::Math::GSLQRngWrapper::Rng ( ) const
inline

Definition at line 126 of file GSLQRngWrapper.h.

void ROOT::Math::GSLQRngWrapper::SetDefaultType ( )
inline

Definition at line 116 of file GSLQRngWrapper.h.

Referenced by Allocate().

void ROOT::Math::GSLQRngWrapper::SetType ( const gsl_qrng_type *  type)
inline

Definition at line 112 of file GSLQRngWrapper.h.

Member Data Documentation

bool ROOT::Math::GSLQRngWrapper::fOwn
private

Definition at line 132 of file GSLQRngWrapper.h.

Referenced by Allocate(), Free(), operator=(), and ~GSLQRngWrapper().

gsl_qrng* ROOT::Math::GSLQRngWrapper::fRng
private

Definition at line 133 of file GSLQRngWrapper.h.

Referenced by Allocate(), Dimension(), Free(), GSLQRngWrapper(), operator=(), and Rng().

const gsl_qrng_type* ROOT::Math::GSLQRngWrapper::fRngType
private

Definition at line 134 of file GSLQRngWrapper.h.

Referenced by Allocate(), operator=(), SetDefaultType(), and SetType().


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