remarks
References:
https://github.com/thi-ng/ct-head/blob/master/random.h
https://gist.github.com/voidqk/d112165a26b45244a65298933c0349a4
Hierarchy
ARandom
Smush32
Implements
IBuffered
<
Uint32Array
>
ICopy
<
Smush32
>
ISeedable
<
number
>
Index
Constructors
constructor
Properties
buffer
Methods
copy
float
int
minmax
norm
seed
Constructors
constructor
new
Smush32
(
seed
?:
number
)
:
Smush32
Parameters
seed:
number
= ...
Returns
Smush32
Properties
buffer
buffer
:
Uint32Array
Methods
copy
copy
(
)
:
Smush32
Returns
Smush32
float
float
(
norm
?:
number
)
:
number
Parameters
norm:
number
= 1
Returns
number
int
int
(
)
:
number
Returns
number
minmax
minmax
(
min
:
number
, max
:
number
)
:
number
Parameters
min:
number
max:
number
Returns
number
norm
norm
(
norm
?:
number
)
:
number
Parameters
norm:
number
= 1
Returns
number
seed
seed
(
s
:
number
)
:
Smush32
Parameters
s:
number
Returns
Smush32
Exports
ARandom
Crypto
Smush32
constructor
buffer
copy
float
int
minmax
norm
seed
System
Random
Xor
Shift128
Xor
Wow
Xoshiro128
Xs
Add
INorm
IRandom
ISeedable
ISeedable
Random
CRYPTO
SYSTEM
coin
exponential
fair
Coin
gaussian
geometric
normal
random
Bytes
random
Bytes
From
randomID
uniform
unique
Indices
unique
Values
From
uuid
uuidv4
Bytes
weighted
Random
Generated using
TypeDoc
References: