Companion

object Companion

Functions

Link copied to clipboard
fun default(seed: Long): DefaultGenerator

Returns DefaultGenerator of given seed.

Properties

Link copied to clipboard
val default: DefaultGenerator

The DefaultGenerator instance.

Extensions

Link copied to clipboard
fun RandomGenerator.Companion.fromSource(source: RandomSource, seed: Long? = null): RandomSourceGenerator

Returns RandomSourceGenerator with given RandomSource and seed.

Link copied to clipboard
fun RandomGenerator.Companion.mersenneTwister(seed: Long? = null): RandomSourceGenerator

Returns RandomSourceGenerator with RandomSource.MT algorithm and given seed.

Sources

Link copied to clipboard