Logo ROOT  
Reference Guide
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 *r)
 construct from an existing gsl_qrng it is managed externally - so will not be deleted at the end More...
 
 GSLQRngWrapper (const gsl_qrng_type *type)
 Constructor with type. More...
 
 GSLQRngWrapper (GSLQRngWrapper &r)
 Copy constructor - clone the GSL object and manage it. More...
 
 ~GSLQRngWrapper ()
 Destructor (free the rng if not done before) More...
 
void Allocate (unsigned int dimension)
 
unsigned int Dimension () const
 
void Free ()
 
GSLQRngWrapperoperator= (const GSLQRngWrapper &rhs)
 Assignment operator. More...
 
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
 

#include </home/sftnight/build/workspace/root-makedoc-v622/rootspi/rdoc/src/v6-22-00-patches/math/mathmore/src/GSLQRngWrapper.h>

Constructor & Destructor Documentation

◆ GSLQRngWrapper() [1/4]

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

Default constructor.

Definition at line 34 of file GSLQRngWrapper.h.

◆ GSLQRngWrapper() [2/4]

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

Constructor with type.

Definition at line 44 of file GSLQRngWrapper.h.

◆ GSLQRngWrapper() [3/4]

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.

◆ GSLQRngWrapper() [4/4]

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

Copy constructor - clone the GSL object and manage it.

Definition at line 65 of file GSLQRngWrapper.h.

◆ ~GSLQRngWrapper()

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

Destructor (free the rng if not done before)

Definition at line 93 of file GSLQRngWrapper.h.

Member Function Documentation

◆ Allocate()

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

Definition at line 97 of file GSLQRngWrapper.h.

◆ Dimension()

unsigned int ROOT::Math::GSLQRngWrapper::Dimension ( ) const
inline

Definition at line 122 of file GSLQRngWrapper.h.

◆ Free()

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

Definition at line 104 of file GSLQRngWrapper.h.

◆ operator=()

GSLQRngWrapper & ROOT::Math::GSLQRngWrapper::operator= ( const GSLQRngWrapper rhs)
inline

Assignment operator.

Definition at line 75 of file GSLQRngWrapper.h.

◆ Rng() [1/2]

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

Definition at line 124 of file GSLQRngWrapper.h.

◆ Rng() [2/2]

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

Definition at line 126 of file GSLQRngWrapper.h.

◆ SetDefaultType()

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

Definition at line 116 of file GSLQRngWrapper.h.

◆ SetType()

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

Definition at line 112 of file GSLQRngWrapper.h.

Member Data Documentation

◆ fOwn

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

Definition at line 132 of file GSLQRngWrapper.h.

◆ fRng

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

Definition at line 133 of file GSLQRngWrapper.h.

◆ fRngType

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

Definition at line 134 of file GSLQRngWrapper.h.


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