r Gamma
fun rGamma(shape: Double, scale: Double, streamNum: Int, type: KSLRandom.AlgoType = AlgoType.Inverse): Double
Return
the generated value
Parameters
shape
the shape, must be greater than 0.0
scale
the scale, must be greater than 0.0
stream Num
the stream number from the stream provider to use
type
, must be appropriate algorithm type, if null then inverse transform is the default
fun rGamma(shape: Double, scale: Double, rng: RNStreamIfc = defaultRNStream(), type: KSLRandom.AlgoType = AlgoType.Inverse): Double
Return
the generated value
Parameters
shape
the shape, must be greater than 0.0
scale
the scale, must be greater than 0.0
rng
the RNStreamIfc, must not null
type
, must be appropriate algorithm type, if null then inverse transform is the default