|
BioDynaMo
v1.05.125-2619fe54
|
#include <random.h>
Public Member Functions | |
| GausRng (real_t mean, real_t sigma) | |
| virtual | ~GausRng () 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 (GausRng, 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) | |
|
overridevirtualdefault |
|
private |
|
overrideprivatevirtual |
Implements bdm::DistributionRng< real_t >.
1.8.17