CMRandomGeneratorWrapper

class CMRandomGeneratorWrapper(factory: (IntArray) -> RandomGenerator) : RandomGenerator

Functions

nextBoolean
Link copied to clipboard
open override fun nextBoolean(): Boolean
nextBytes
Link copied to clipboard
open override fun nextBytes(bytes: ByteArray)
nextDouble
Link copied to clipboard
open override fun nextDouble(): Double
nextFloat
Link copied to clipboard
open override fun nextFloat(): Float
nextGaussian
Link copied to clipboard
open override fun nextGaussian(): Double
nextInt
Link copied to clipboard
open override fun nextInt(): Int
open override fun nextInt(n: Int): Int
nextLong
Link copied to clipboard
open override fun nextLong(): Long
setSeed
Link copied to clipboard
open override fun setSeed(seed: Int)
open override fun setSeed(seed: IntArray)
open override fun setSeed(seed: Long)

Properties

factory
Link copied to clipboard
val factory: (IntArray) -> RandomGenerator

Sources

jvm source
Link copied to clipboard