Package org.hipparchus.random
Interface NormalizedRandomGenerator
- All Known Implementing Classes:
GaussianRandomGenerator,StableRandomGenerator,UniformRandomGenerator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This interface represent a normalized random generator for
scalars.
Normalized generator provide null mean and unit standard deviation scalars.
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGenerate a random scalar with null mean and unit standard deviation.
-
Method Details
-
nextNormalizedDouble
double nextNormalizedDouble()Generate a random scalar with null mean and unit standard deviation.This method does not specify the shape of the distribution, it is the implementing class that provides it. The only contract here is to generate numbers with null mean and unit standard deviation.
- Returns:
- a random scalar with null mean and unit standard deviation
-