RandomGenerator
interface RandomGenerator
Content copied to clipboard
An interface that is implemented by random number generator algorithms.
Types
Functions
fork
Link copied to clipboard
nextBoolean
Link copied to clipboard
nextDouble
Link copied to clipboard
nextDoubleBuffer
Link copied to clipboard
nextInt
Link copied to clipboard
nextLong
Link copied to clipboard
Inheritors
Extensions
asUniformRandomProvider
Link copied to clipboard
Represent this RandomGenerator as commons-rng UniformRandomProvider preserving and mirroring its current state.
chain
Link copied to clipboard
fun <R> RandomGenerator.chain(generator: suspend RandomGenerator.() -> R): RandomChain<R>
Content copied to clipboard
Create a generic random chain with provided generator
Sources
common source
Link copied to clipboard