13#ifndef ROOT_Math_GSLRngWrapper
14#define ROOT_Math_GSLRngWrapper
58 fRng =
const_cast<gsl_rng *
>(
r);
68 fRng = gsl_rng_clone(
r.fRng);
75 if (
this == &rhs)
return *
this;
79 iret = gsl_rng_memcpy(
fRng, rhs.
fRng);
80 if (!iret)
return *
this;
122 gsl_rng_print_state(
fRng);
127 inline const gsl_rng *
Rng()
const {
return fRng; }
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
GSLRngWrapper class to wrap gsl_rng structure.
GSLRngWrapper(const gsl_rng *r)
construct from an existing gsl_rng it is managed externally - so will not be deleted at the end
GSLRngWrapper & operator=(const GSLRngWrapper &rhs)
Assignment operator.
GSLRngWrapper(const gsl_rng_type *type)
Constructor with type.
~GSLRngWrapper()
Destructor (free the rng if not done before)
const gsl_rng_type * fRngType
void SetType(const gsl_rng_type *type)
GSLRngWrapper()
Default constructor.
GSLRngWrapper(GSLRngWrapper &r)
Copy constructor - clone the GSL object and manage it.
const gsl_rng * Rng() const
Namespace for new Math classes and functions.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.