kmath
kmath-commons
/
space.kscience.kmath.commons.random
/
CMRandomGeneratorWrapper
CMRandom
Generator
Wrapper
class
CMRandomGeneratorWrapper
(
factory
:
(
IntArray
)
->
RandomGenerator
)
:
RandomGenerator
Content copied to clipboard
Functions
Properties
Sources
Functions
next
Boolean
Link copied to clipboard
open
override
fun
nextBoolean
(
)
:
Boolean
Content copied to clipboard
next
Bytes
Link copied to clipboard
open
override
fun
nextBytes
(
bytes
:
ByteArray
)
Content copied to clipboard
next
Double
Link copied to clipboard
open
override
fun
nextDouble
(
)
:
Double
Content copied to clipboard
next
Float
Link copied to clipboard
open
override
fun
nextFloat
(
)
:
Float
Content copied to clipboard
next
Gaussian
Link copied to clipboard
open
override
fun
nextGaussian
(
)
:
Double
Content copied to clipboard
next
Int
Link copied to clipboard
open
override
fun
nextInt
(
)
:
Int
Content copied to clipboard
open
override
fun
nextInt
(
n
:
Int
)
:
Int
Content copied to clipboard
next
Long
Link copied to clipboard
open
override
fun
nextLong
(
)
:
Long
Content copied to clipboard
set
Seed
Link copied to clipboard
open
override
fun
setSeed
(
seed
:
Int
)
Content copied to clipboard
open
override
fun
setSeed
(
seed
:
IntArray
)
Content copied to clipboard
open
override
fun
setSeed
(
seed
:
Long
)
Content copied to clipboard
Properties
factory
Link copied to clipboard
val
factory
:
(
IntArray
)
->
RandomGenerator
Content copied to clipboard
Sources
jvm source
Link copied to clipboard