kmath
0.3.1-dev-RC
common
kmath-stat
/
space.kscience.kmath.samplers
/
AliasMethodDiscreteSampler
/
sample
sample
open
override
fun
sample
(
generator
:
RandomGenerator
)
:
Chain
<
Int
>
(
source
)
Generates a chain of samples.
Return
the new chain.
Parameters
generator
the randomness provider.