GaussianRandomGenerator class
Generates random floating-point values taken from a normal distribution.
Contents
The operator()
method returns the next random value in the sequence. It takes two
parameters, the mean and standard deviation of the distribution.
The constructor takes and stores a reference to a dip::Random
object, which is used
to produce the randomness. That object needs to exist for as long as this one exists.
Constructors, destructors, assignment and conversion operators
- GaussianRandomGenerator(dip::Random& generator) explicit
- Constructor
Operators
- auto operator()(dip::dfloat mean, dip::dfloat standardDeviation) -> dip::dfloat
- Get the next random value, using the given parameters.