NormalizedRandomGenerator
public class GaussianRandomGenerator extends Object implements NormalizedRandomGenerator
This class is a simple wrapper around the RandomGenerator.nextGaussian()
method.
Constructor | Description |
---|---|
GaussianRandomGenerator(RandomGenerator generator) |
Create a new generator.
|
Modifier and Type | Method | Description |
---|---|---|
double |
nextNormalizedDouble() |
Generate a random scalar with null mean and unit standard deviation.
|
public GaussianRandomGenerator(RandomGenerator generator)
generator
- underlying random generator to usepublic double nextNormalizedDouble()
nextNormalizedDouble
in interface NormalizedRandomGenerator
Copyright © 2016–2018 Hipparchus.org. All rights reserved.