random vocabulary
Factor handbook ยป Vocabulary index


Summary
Random number generator protocol and implementations

Metadata
Tags:algorithms
Authors:Doug Coleman, Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
bernoulli-distribution tuplep
beta-distribution tuplealpha beta
binomial-distribution tuplen p
cauchy-distribution tuplemedian scale
chi-square-distribution tupledof
exponential-distribution tuplelambda
f-distribution tupledof-num dof-den
gamma-distribution tuplealpha beta
geometric-distribution tuplep
gumbel-distribution tupleloc scale
inv-gamma-distribution tupleshape scale
laplace-distribution tuplemean scale
logistic-distribution tupleloc scale
lognormal-distribution normal-distribution
logseries-distribution tuplep
no-random-number-generator tuple
normal-distribution tuplemean sigma
not-a-random-generator tuple
pareto-distribution tuplek alpha
poisson-distribution tuplemean
power-distribution tuplealpha
rayleigh-distribution tuplemode
student-t-distribution tupledof
too-many-samples tupleseq n
triangular-distribution tuplelow high
uniform-distribution tuplemin max
von-mises-distribution tuplemu kappa
wald-distribution tuplemean scale
weibull-distribution tuplealpha beta
zipf-distribution tuplea


Mixin classes
base-random


Generic words
WordStack effect
random*( obj rnd -- elt )
random-32*( rnd -- n )
random-bytes*( n rnd -- byte-array )
seed-random( rnd seed -- rnd )


Symbol words
random-generator
secure-random-generator
system-random-generator


Ordinary words
WordStack 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 )


Class predicate words
WordStack effect
base-random?( object -- ? )
bernoulli-distribution?( object -- ? )
beta-distribution?( object -- ? )
binomial-distribution?( object -- ? )
cauchy-distribution?( object -- ? )
chi-square-distribution?( object -- ? )
exponential-distribution?( object -- ? )
f-distribution?( object -- ? )
gamma-distribution?( object -- ? )
geometric-distribution?( object -- ? )
gumbel-distribution?( object -- ? )
inv-gamma-distribution?( object -- ? )
laplace-distribution?( object -- ? )
logistic-distribution?( object -- ? )
lognormal-distribution?( object -- ? )
logseries-distribution?( object -- ? )
no-random-number-generator?( object -- ? )
normal-distribution?( object -- ? )
not-a-random-generator?( object -- ? )
pareto-distribution?( object -- ? )
poisson-distribution?( object -- ? )
power-distribution?( object -- ? )
rayleigh-distribution?( object -- ? )
student-t-distribution?( object -- ? )
too-many-samples?( object -- ? )
triangular-distribution?( object -- ? )
uniform-distribution?( object -- ? )
von-mises-distribution?( object -- ? )
wald-distribution?( object -- ? )
weibull-distribution?( object -- ? )
zipf-distribution?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
random.data
random.dummyDummy RNG for testing
random.mersenne-twisterMersenne Twister random number generator
random.passwords
random.sfmt
random.unixNative Unix RNG
random.windowsNative Windows RNG


Children from resource:extra
VocabularySummary
random.blum-blum-shub
random.cLIBC random generator
random.cmwc
random.lagged-fibonacci
random.pcg
random.rdrandRDRAND random generator
random.xorshift
random.xoshiro