Top Description Methods
org.apache.commons.math3.random

public Interface NormalizedRandomGenerator

Known Direct Implementers
org.apache.commons.math3.random.StableRandomGenerator, org.apache.commons.math3.random.UniformRandomGenerator, org.apache.commons.math3.random.GaussianRandomGenerator

This interface represent a normalized random generator for scalars. Normalized generator provide null mean and unit standard deviation scalars.
Since
1.2

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

a random scalar with null mean and unit standard deviation
nextNormalizedDouble
()

Generate a random scalar with null mean and unit standard deviation.

Method Detail

nextNormalizedDoubleback to summary
public 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:double

a random scalar with null mean and unit standard deviation