library: libUnuran
#include "TUnuran.h"

TUnuran


class description - header file
viewCVS header

class TUnuran

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TUnuran(TRandom* r = 0, unsigned int log = 0)
~TUnuran()
boolInit(const string& distr, const string& method)
boolInit(const TUnuranDistr& distr, const string& method = method=auto)
boolInit(const TUnuranDistrMulti& distr, const string& method = method=hitro, bool useLogpdf = false)
boolRinit()
doubleSample()
boolSampleMulti(double* x)
boolSetLogLevel(unsigned int iflag = 1)
boolSetLogStream()
boolSetMethod(const string& method)
protected:
boolSetDistribution()
boolSetDistributionMulti()
boolSetRandomGenerator()
private:
TUnuran(const TUnuran&)
TUnuran&operator=(const TUnuran& rhs)

Data Members

protected:
unur_gen*fGen
unur_distr*fUdistr
TUnuranDistrfDistr
TUnuranDistrMultifDistrMulti
boolfUseLogpdf
TRandom*fRng
stringfMethod

Class Description

TUnuran(const TUnuran &)
bool Init(const std::string & distr, const std::string & method)
bool Init(const TUnuranDistr & distr, const std::string & method = "method=auto")
bool Init(const TUnuranDistrMulti & distr, const std::string & method = "method=hitro",bool useLogpdf = false)
bool SetMethod(const std::string & method)
bool Rinit()
double Sample()
/ sample 1D distribution
bool SampleMulti(double * x)
/ sample multidimensional distributions
bool SetLogLevel(unsigned int iflag = 1)
/ set log level 
bool SetLogStream()
/ set stream for log and error 
{ return false;}
bool SetRandomGenerator()
bool SetDistribution( )
bool SetDistributionMulti( )

Last update: Tue Nov 21 09:40:07 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.