BioDynaMo  v1.03.58-27764645
Public Member Functions | Private Member Functions | Private Attributes | List of all members
bdm::PoissonRng Class Reference

#include <random.h>

Inheritance diagram for bdm::PoissonRng:
Collaboration diagram for bdm::PoissonRng:

Public Member Functions

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

Private Member Functions

int SampleImpl (TRandom *rng) override

Private Attributes

real_t mean_

Additional Inherited Members

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

Detailed Description

Definition at line 247 of file random.h.

Constructor & Destructor Documentation

◆ PoissonRng()

bdm::PoissonRng::PoissonRng ( real_t  mean)

Definition at line 361 of file

◆ ~PoissonRng()

bdm::PoissonRng::~PoissonRng ( )

Member Function Documentation


bdm::PoissonRng::BDM_CLASS_DEF_OVERRIDE ( PoissonRng  ,

◆ SampleImpl()

int bdm::PoissonRng::SampleImpl ( TRandom *  rng)

Implements bdm::DistributionRng< int >.

Definition at line 363 of file

Member Data Documentation

◆ mean_

real_t bdm::PoissonRng::mean_

Definition at line 253 of file random.h.

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