kmath
0.3.1-dev-RC
jvm
kmath-commons
/
space.kscience.kmath.commons.random
/
CMRandomGeneratorWrapper
CMRandom
Generator
Wrapper
class
CMRandomGeneratorWrapper
(
val
factory
:
(
IntArray
)
->
RandomGenerator
)
:
RandomGenerator
(
source
)
Members
Constructors
CMRandom
Generator
Wrapper
Link copied to clipboard
constructor
(
factory
:
(
IntArray
)
->
RandomGenerator
)
Functions
next
Boolean
Link copied to clipboard
open
override
fun
nextBoolean
(
)
:
Boolean
next
Bytes
Link copied to clipboard
open
override
fun
nextBytes
(
bytes
:
ByteArray
)
next
Double
Link copied to clipboard
open
override
fun
nextDouble
(
)
:
Double
next
Float
Link copied to clipboard
open
override
fun
nextFloat
(
)
:
Float
next
Gaussian
Link copied to clipboard
open
override
fun
nextGaussian
(
)
:
Double
next
Int
Link copied to clipboard
open
override
fun
nextInt
(
)
:
Int
open
override
fun
nextInt
(
n
:
Int
)
:
Int
next
Long
Link copied to clipboard
open
override
fun
nextLong
(
)
:
Long
set
Seed
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