BioDynaMo
v1.05.120-25dc9790
|
#include <random.h>
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) | |
|
overridedefault |
|
private |
|
overrideprivatevirtual |
Implements bdm::DistributionRng< real_t >.