Normal

constructor(parameters: DoubleArray)

Constructs a normal distribution with mean = parameters0 and variance = parameters1

Parameters

parameters

An array with the mean and variance


constructor(theMean: Double = 0.0, theVariance: Double = 1.0, name: String? = null)

Parameters

theMean

of the distribution

theVariance

must be > 0

name

an optional name/label