OpendTect
7.0
|
Normal (gaussian) Random Generator Not thread-safe to preserve performance. In multi-threaded context, use one generator per thread. More...
Public Member Functions | |
NormalRandGen () | |
double | get () const override |
double | get (double expect, double stdev) const |
float | get (float expect, float stdev) const |
bool | init (int seed) override |
Not for production. More... | |
Public Member Functions inherited from Stats::RandomGenerator | |
virtual | ~RandomGenerator () |
Private Member Functions | |
mOD_DisableCopy (NormalRandGen) | |
Private Attributes | |
std::mt19937_64 | gen64_ |
std::random_device | rd_ |
Threads::Atomic< int > | seedval_ = mUdf(int) |
Normal (gaussian) Random Generator Not thread-safe to preserve performance. In multi-threaded context, use one generator per thread.
<>
Stats::NormalRandGen::NormalRandGen | ( | ) |
|
overridevirtual |
Implements Stats::RandomGenerator.
double Stats::NormalRandGen::get | ( | double | expect, |
double | stdev | ||
) | const |
float Stats::NormalRandGen::get | ( | float | expect, |
float | stdev | ||
) | const |
|
overridevirtual |
Not for production.
Reimplemented from Stats::RandomGenerator.
|
private |
|
mutableprivate |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024