rNormal

fun rNormal(streamNum: Int): Double

Generates a N(0,1) random value using the supplied stream number

Return

the random value

Parameters

streamNum

the stream number from the stream provider to use


fun rNormal(stream: RNStreamIfc): Double

Generates a N(0,1) random value using the supplied stream

Return

the random value

Parameters

stream

the random number stream


fun rNormal(mean: Double, variance: Double, streamNum: Int): Double

Return

the random value

Parameters

mean

the mean of the normal

variance

the variance of the normal, must be greater than 0

streamNum

the stream number from the stream provider to use


fun rNormal(mean: Double = 0.0, variance: Double = 1.0, stream: RNStreamIfc = defaultRNStream()): Double

Return

the random value

Parameters

mean

the mean of the normal

variance

the variance of the normal, must be greater than 0

stream

the random number stream