kmath
common
kmath-stat
/
space.kscience.kmath.samplers
/
AliasMethodDiscreteSampler
/
AliasMethodDiscreteSampler
Alias
Method
Discrete
Sampler
common
fun
AliasMethodDiscreteSampler
(
probabilities
:
DoubleArray
,
alpha
:
Int
=
DEFAULT_ALPHA
)
:
Sampler
<
Int
>
Content copied to clipboard
Sources
common source
Link copied to clipboard