NormalRng

class NormalRng

Normally distributed random number generator.

setMean()

(destination message field) Assigns field value.

getMean()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setVariance()

(destination message field) Assigns field value.

getVariance()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setMethod()

(destination message field) Assigns field value.

getMethod()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

mean

double (value field) Mean of the normal distribution

variance

double (value field) Variance of the normal distribution

method

int (value field) Algorithm used for computing the sample. The default is 0 = alias method by Ahrens and Dieter. Other options are: 1 = Box-Mueller method and 2 = ziggurat method.