BioDynaMo  v1.05.120-25dc9790
Public Member Functions | Private Member Functions | Private Attributes | List of all members
bdm::LandauRng Class Reference

#include <random.h>

Inheritance diagram for bdm::LandauRng:
[legend]
Collaboration diagram for bdm::LandauRng:
[legend]

Public Member Functions

 LandauRng (real_t mean, real_t sigma)
 
 ~LandauRng () override
 
- Public Member Functions inherited from bdm::DistributionRng< real_t >
 DistributionRng ()=default
 
 DistributionRng (TRootIOCtor *)
 
virtual ~DistributionRng ()=default
 
real_t Sample ()
 Draws a sample from the distribution. More...
 
MathArray< real_t, 2 > Sample2 ()
 
MathArray< real_t, 3 > Sample3 ()
 
MathArray< real_t, N > SampleArray ()
 

Private Member Functions

real_t SampleImpl (TRandom *rng) override
 
 BDM_CLASS_DEF_OVERRIDE (LandauRng, 1)
 

Private Attributes

real_t mean_
 
real_t sigma_
 

Additional Inherited Members

- Protected Member Functions inherited from bdm::DistributionRng< real_t >
virtual MathArray< real_t, 2 > Sample2Impl (TRandom *rng)
 
virtual MathArray< real_t, 3 > Sample3Impl (TRandom *rng)
 
 BDM_CLASS_DEF (DistributionRng, 1)
 

Detailed Description

Definition at line 102 of file random.h.

Constructor & Destructor Documentation

◆ LandauRng()

bdm::LandauRng::LandauRng ( real_t  mean,
real_t  sigma 
)

Definition at line 201 of file random.cc.

◆ ~LandauRng()

bdm::LandauRng::~LandauRng ( )
overridedefault

Member Function Documentation

◆ BDM_CLASS_DEF_OVERRIDE()

bdm::LandauRng::BDM_CLASS_DEF_OVERRIDE ( LandauRng  ,
 
)
private

◆ SampleImpl()

real_t bdm::LandauRng::SampleImpl ( TRandom *  rng)
overrideprivatevirtual

Implements bdm::DistributionRng< real_t >.

Definition at line 203 of file random.cc.

Member Data Documentation

◆ mean_

real_t bdm::LandauRng::mean_
private

Definition at line 108 of file random.h.

◆ sigma_

real_t bdm::LandauRng::sigma_
private

Definition at line 108 of file random.h.


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