Normal

constructor(mean: Double = 0.0, variance: Double = 1.0, name: String? = null)(source)

Parameters

mean

of the distribution

variance

must be > 0

name

an optional name/label


constructor(parameters: DoubleArray)(source)

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

Parameters

parameters

An array with the mean and variance