g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::rgaussd Class Reference
Inheritance diagram for tools::rgaussd:
Inheritance graph
[legend]
Collaboration diagram for tools::rgaussd:
Collaboration graph
[legend]

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
virtual double shootd () const
 
 rgaussd (double a_mean=0, double a_std_dev=1)
 
virtual ~rgaussd ()
 
 rgaussd (const rgaussd &a_from)
 
rgaussdoperator= (const rgaussd &a_from)
 
double shoot () const
 
- Public Member Functions inherited from tools::irandd
virtual ~irandd ()
 
- Public Member Functions inherited from tools::rgauss< rtausmed, double >
 rgauss (rtausmed &a_flat, double a_mean=0, double a_std_dev=1)
 
 rgauss (const rgauss &a_from)
 
virtual ~rgauss ()
 
rgaussoperator= (const rgauss &a_from)
 
double shoot (math_func a_sqrt, math_func a_log) const
 
rtausmedflat ()
 
void set_seed (unsigned int a_seed)
 
void set (double a_mean=0, double a_std_dev=1)
 

Protected Attributes

rtausmed m_flat
 
- Protected Attributes inherited from tools::rgauss< rtausmed, double >
rtausmedm_flat
 
double m_mean
 
double m_std_dev
 

Detailed Description

Definition at line 48 of file randd.

Constructor & Destructor Documentation

◆ rgaussd() [1/2]

tools::rgaussd::rgaussd ( double  a_mean = 0,
double  a_std_dev = 1 
)
inline

Definition at line 59 of file randd.

59 :parent(m_flat,a_mean,a_std_dev),m_flat(){}

◆ ~rgaussd()

virtual tools::rgaussd::~rgaussd ( )
inlinevirtual

Definition at line 60 of file randd.

60 {}

◆ rgaussd() [2/2]

tools::rgaussd::rgaussd ( const rgaussd a_from)
inline

Definition at line 62 of file randd.

62 :irandd(a_from),parent(m_flat),m_flat(a_from.m_flat){}

Member Function Documentation

◆ cast()

virtual void* tools::rgaussd::cast ( const std::string &  a_class) const
inlinevirtual

Implements tools::irandd.

Definition at line 53 of file randd.

53  {
54  if(void* p = cmp_cast<rgaussd>(this,a_class)) return p;
55  return 0;
56  }

◆ operator=()

rgaussd& tools::rgaussd::operator= ( const rgaussd a_from)
inline

Definition at line 63 of file randd.

63  {
64  parent::operator=(a_from);
65  m_flat = a_from.m_flat;
66  return *this;
67  }

◆ shoot()

double tools::rgaussd::shoot ( ) const
inline

Definition at line 69 of file randd.

69 {return parent::shoot(::sqrt,::log);}

◆ shootd()

virtual double tools::rgaussd::shootd ( ) const
inlinevirtual

Implements tools::irandd.

Definition at line 57 of file randd.

57 {return shoot();}

Member Data Documentation

◆ m_flat

rtausmed tools::rgaussd::m_flat
protected

Definition at line 71 of file randd.


The documentation for this class was generated from the following file:
tools::rgaussd::m_flat
rtausmed m_flat
Definition: randd:71
tools::rgaussd::shoot
double shoot() const
Definition: randd:69
tools::rgauss< rtausmed, double >::shoot
double shoot(math_func a_sqrt, math_func a_log) const
Definition: randT:26
tools::rgauss< rtausmed, double >::operator=
rgauss & operator=(const rgauss &a_from)
Definition: randT:20