-
Notifications
You must be signed in to change notification settings - Fork 1
tannus.math.Random
DavisDevelopment edited this page Dec 30, 2014
·
1 revision
Seedable Pseudo-Random-Number Generation class
generates an integer from the bytes of
str_seed, then returns a newRandominstance using that as it's seed
effectively, the current "seed" in use by
thisinstance
mutates
stateand returns the result
returns the relationship between
stateand ECMAScript's integer-cap
returns random Boolean value
returns random Integer between
minandmax
returns a randomly-selected item from
options
ifoptions.length<2, result is unspecified
returns a new Array with all of the same contents as
items,
but with all of their indices randomly re-assigned