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

#include <random.h>

Inheritance diagram for bdm::PoissonDRng:
Collaboration diagram for bdm::PoissonDRng:

Public Member Functions

 PoissonDRng (real_t mean)
virtual ~PoissonDRng ()
- 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

Private Attributes

real_t mean_

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 114 of file random.h.

Constructor & Destructor Documentation

◆ PoissonDRng()

bdm::PoissonDRng::PoissonDRng ( real_t  mean)

Definition at line 212 of file

◆ ~PoissonDRng()

bdm::PoissonDRng::~PoissonDRng ( )

Member Function Documentation


bdm::PoissonDRng::BDM_CLASS_DEF_OVERRIDE ( PoissonDRng  ,

◆ SampleImpl()

real_t bdm::PoissonDRng::SampleImpl ( TRandom *  rng)

Implements bdm::DistributionRng< real_t >.

Definition at line 214 of file

Member Data Documentation

◆ mean_

real_t bdm::PoissonDRng::mean_

Definition at line 120 of file random.h.

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