Tags: | algorithms |
Authors: | Doug Coleman, Slava Pestov |
base-random |
Word | Stack effect |
random* | ( obj rnd -- elt ) |
random-32* | ( rnd -- n ) |
random-bytes* | ( n rnd -- byte-array ) |
seed-random | ( rnd seed -- rnd ) |
random-generator |
secure-random-generator |
system-random-generator |
Word | Stack effect |
<bernoulli-distribution> | ( p -- bernoulli-distribution ) |
<beta-distribution> | ( alpha beta -- beta-distribution ) |
<binomial-distribution> | ( n p -- binomial-distribution ) |
<cauchy-distribution> | ( median scale -- cauchy-distribution ) |
<chi-square-distribution> | ( dof -- chi-square-distribution ) |
<exponential-distribution> | ( lambda -- exponential-distribution ) |
<f-distribution> | ( dof-num dof-den -- f-distribution ) |
<gamma-distribution> | ( alpha beta -- gamma-distribution ) |
<geometric-distribution> | ( p -- geometric-distribution ) |
<gumbel-distribution> | ( loc scale -- gumbel-distribution ) |
<inv-gamma-distribution> | ( shape scale -- inv-gamma-distribution ) |
<laplace-distribution> | ( mean scale -- laplace-distribution ) |
<logistic-distribution> | ( loc scale -- logistic-distribution ) |
<lognormal-distribution> | ( mean sigma -- lognormal-distribution ) |
<logseries-distribution> | ( p -- logseries-distribution ) |
<normal-distribution> | ( mean sigma -- normal-distribution ) |
<pareto-distribution> | ( k alpha -- pareto-distribution ) |
<poisson-distribution> | ( mean -- poisson-distribution ) |
<power-distribution> | ( alpha -- power-distribution ) |
<rayleigh-distribution> | ( mode -- rayleigh-distribution ) |
<student-t-distribution> | ( dof -- student-t-distribution ) |
<triangular-distribution> | ( low high -- triangular-distribution ) |
<uniform-distribution> | ( min max -- uniform-distribution ) |
<von-mises-distribution> | ( mu kappa -- von-mises-distribution ) |
<wald-distribution> | ( mean scale -- wald-distribution ) |
<weibull-distribution> | ( alpha beta -- weibull-distribution ) |
<zipf-distribution> | ( a -- zipf-distribution ) |
bernoulli-random | ( p -- n ) |
bernoulli-random* | ( p rnd -- n ) |
beta-random | ( alpha beta -- n ) |
beta-random* | ( alpha beta rnd -- n ) |
binomial-random | ( n p -- x ) |
binomial-random* | ( n p rnd -- elt ) |
cauchy-random | ( median scale -- n ) |
cauchy-random* | ( median scale rnd -- n ) |
chi-square-random | ( dof -- n ) |
chi-square-random* | ( dof rnd -- n ) |
delete-random | ( seq -- elt ) |
exponential-random | ( lambda -- n ) |
exponential-random* | ( lambda rnd -- n ) |
f-random | ( df-num df-den -- n ) |
f-random* | ( dof-num dof-den rnd -- n ) |
gamma-random | ( alpha beta -- n ) |
gamma-random* | ( alpha beta rnd -- n ) |
geometric-random | ( p -- n ) |
geometric-random* | ( p rnd -- n ) |
gumbel-random | ( loc scale -- n ) |
gumbel-random* | ( loc scale rnd -- n ) |
inv-gamma-random | ( shape scale -- n ) |
inv-gamma-random* | ( shape scale rnd -- n ) |
laplace-random | ( mean scale -- n ) |
laplace-random* | ( mean scale rnd -- n ) |
logistic-random | ( loc scale -- n ) |
logistic-random* | ( loc scale rnd -- n ) |
lognormal-random | ( mean sigma -- n ) |
lognormal-random* | ( mean sigma rnd -- n ) |
logseries-random | ( p -- n ) |
logseries-random* | ( p rnd -- n ) |
no-random-number-generator | ( -- * ) |
normal-random | ( mean sigma -- n ) |
normal-random* | ( mean sigma rnd -- n ) |
not-a-random-generator | ( -- * ) |
pareto-random | ( k alpha -- n ) |
pareto-random* | ( k alpha rnd -- n ) |
poisson-random | ( mean -- n ) |
poisson-random* | ( mean rnd -- n ) |
power-random | ( alpha -- n ) |
power-random* | ( alpha rnd -- n ) |
random | ( obj -- elt ) |
random-32 | ( -- n ) |
random-bits | ( numbits -- n ) |
random-bits* | ( numbits rnd -- n ) |
random-bits-exact | ( numbits -- n ) |
random-bits-exact* | ( numbits rnd -- n ) |
random-bytes | ( n -- byte-array ) |
random-unit | ( -- n ) |
random-unit* | ( rnd -- n ) |
random-units | ( length -- sequence ) |
randomize | ( seq -- randomized ) |
randomize-n-last | ( seq n -- seq ) |
randoms | ( length obj -- seq ) |
randoms-as | ( length obj exemplar -- seq ) |
rayleigh-random | ( mode -- n ) |
rayleigh-random* | ( mode rnd -- n ) |
sample | ( seq n -- seq' ) |
student-t-random | ( dof -- n ) |
student-t-random* | ( dof rnd -- n ) |
too-many-samples | ( seq n -- * ) |
triangular-random | ( low high -- n ) |
triangular-random* | ( low high rnd -- n ) |
uniform-random | ( min max -- n ) |
uniform-random* | ( min max rnd -- n ) |
von-mises-random | ( mu kappa -- n ) |
von-mises-random* | ( mu kappa rnd -- n ) |
wald-random | ( mean scale -- n ) |
wald-random* | ( mean scale rnd -- n ) |
weibull-random | ( alpha beta -- n ) |
weibull-random* | ( alpha beta rnd -- n ) |
with-random | ( rnd quot -- ) |
with-secure-random | ( quot -- ) |
with-system-random | ( quot -- ) |
zipf-random | ( a -- n ) |
zipf-random* | ( a rnd -- n ) |
Vocabulary | Summary |
random.data | |
random.dummy | Dummy RNG for testing |
random.mersenne-twister | Mersenne Twister random number generator |
random.passwords | |
random.sfmt | |
random.unix | Native Unix RNG |
random.windows | Native Windows RNG |
Vocabulary | Summary |
random.blum-blum-shub | |
random.c | LIBC random generator |
random.cmwc | |
random.lagged-fibonacci | |
random.pcg | |
random.rdrand | RDRAND random generator |
random.xorshift | |
random.xoshiro |