rBeta

fun rBeta(alpha: Double, beta: Double, streamNum: Int): Double

This beta is restricted to the range of (0,1)

Return

the random value

Parameters

alpha

alpha (first shape) parameter

beta

beta (second shape) parameter

streamNum

the stream number from the stream provider to use


fun rBeta(alpha: Double, beta: Double, rng: RNStreamIfc = defaultRNStream()): Double

This beta is restricted to the range of (0,1)

Return

the random value

Parameters

alpha

alpha (first shape) parameter

beta

beta (second shape) parameter

rng

the RNStreamIfc