NormalDistr

public class NormalDistr extends ContinuousDistributionAbstract

A pseudo random number generator following the Normal (Gaussian) distribution.

Author:Manoel Campos da Silva Filho

Constructors

NormalDistr

public NormalDistr(long seed, double mean, double standardDeviation)

Creates a new normal (Gaussian) pseudo random number generator.

Parameters:
  • seed – the seed to be used.
  • mean – the mean for the distribution.
  • standardDeviation – the standard deviation for the distribution.

NormalDistr

public NormalDistr(double mean, double standardDeviation)

Creates a new normal (Gaussian) pseudo random number generator.

Parameters:
  • mean – the mean for the distribution.
  • standardDeviation – the standard deviation for the distribution.