This class is a simple wrapper around the RandomGenerator#nextGaussian method.
| Modifier and Type | Field and Description |
|---|---|
| private final RandomGenerator | generator
Underlying generator. |
| Access | Constructor and Description |
|---|---|
| public | GaussianRandomGenerator(final RandomGenerator
underlying random generator to use generator)Create a new generator. |
| Modifier and Type | Method and Description |
|---|---|
| public double | Returns: a random scalar with null mean and unit standard deviationImplements org. Generate a random scalar with null mean and unit standard deviation. |
| generator | back to summary |
|---|---|
| private final RandomGenerator generator Underlying generator. | |
| GaussianRandomGenerator | back to summary |
|---|---|
| public GaussianRandomGenerator(final RandomGenerator generator) Create a new generator.
| |
| nextNormalizedDouble | back to summary |
|---|---|
| public double nextNormalizedDouble() Implements org. Generate a random scalar with null mean and unit standard deviation.
| |