Companion

object Companion

Functions

default
Link copied to clipboard
common
fun default(seed: Long): DefaultGenerator
Returns DefaultGenerator of given seed.

Properties

default
Link copied to clipboard
common
val default: DefaultGenerator
The DefaultGenerator instance.

Extensions

fromSource
Link copied to clipboard
fun RandomGenerator.Companion.fromSource(source: RandomSource, seed: Long? = null): RandomSourceGenerator
Returns RandomSourceGenerator with given RandomSource and seed.
mersenneTwister
Link copied to clipboard
fun RandomGenerator.Companion.mersenneTwister(seed: Long? = null): RandomSourceGenerator
Returns RandomSourceGenerator with RandomSource.MT algorithm and given seed.

Sources

common source
Link copied to clipboard