api
api
/
org.diffkt.random
/
gammaWithRate
gamma
With
Rate
fun
RandomKey
.
gammaWithRate
(
shape
:
Shape
,
alpha
:
DTensor
,
beta
:
DTensor
)
:
DTensor
Content copied to clipboard
Gamma distribution with a shape parameter
alpha
, which is equal to k, and a rate parameter β = 1/θ