rTriangular

fun rTriangular(min: Double, mode: Double, max: Double, streamNum: Int): Double

Return

the random value

Parameters

min

the min, must be less than or equal to mode

mode

the mode, must be less than or equal to max

max

the max

streamNum

the stream number from the stream provider to use


fun rTriangular(min: Double, mode: Double, max: Double, stream: RNStreamIfc = defaultRNStream()): Double

Return

the random value

Parameters

min

the min, must be less than or equal to mode

mode

the mode, must be less than or equal to max

max

the max

stream

the random number stream