rExponential

fun rExponential(mean: Double, streamNum: Int): Double

Return

the random value

Parameters

mean

the mean, must be greater than 0

streamNum

the stream number from the stream provider to use


fun rExponential(mean: Double, stream: RNStreamIfc = defaultRNStream()): Double

Return

the random value

Parameters

mean

the mean, must be greater than 0

stream

the random number stream