This is the random-sample Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:32:46 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
random-sample
Random sample of a sequence with uniform distribution.
Paul M. Rodriguez <pmr@ruricolist.com>
MIT
alexandria
(system).
serapeum
(system).
infix-math
(system).
named-readtables
(system).
package.lisp
(file).
readtable.lisp
(file).
random-sample.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
random-sample/random-sample.asd
random-sample/package.lisp
random-sample/readtable.lisp
random-sample/random-sample.lisp
random-sample/readtable.lisp
package.lisp
(file).
random-sample
(system).
random-sample/random-sample.lisp
readtable.lisp
(file).
random-sample
(system).
generate-index-array
(function).
map-random-below
(function).
random-sample
(function).
+storage-for-deflex-var-alpha+
(constant).
alpha
(symbol macro).
collect-sample
(function).
generate-index-array/replacement
(function).
uniformrv
(function).
vitter-method-a
(function).
vitter-method-d
(function).
Packages are listed by definition order.
random-sample
alexandria
.
common-lisp
.
editor-hints.named-readtables
.
serapeum
.
generate-index-array
(function).
map-random-below
(function).
random-sample
(function).
+storage-for-deflex-var-alpha+
(constant).
alpha
(symbol macro).
collect-sample
(function).
generate-index-array/replacement
(function).
uniformrv
(function).
vitter-method-a
(function).
vitter-method-d
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Generate N random indices for a sequence of length LEN, in ascending order, calling FN on each index as it is generated.
Return a random sample of SEQ of size N.
If WITH-REPLACEMENT is true, return a random sample with
replacement (a "draw").
If WITH-REPLACEMENT is false, return a random sample without replacement (a "deal").
The parameter that decides whether to use method A or method D.
Vitter’s Method A.
Mostly faithful to Vitter’s Pascal code, but uses advanced Common Lisp features like exponents and subtraction.
Vitter’s Method D.
Jump to: | C F G M R U V |
---|
Jump to: | C F G M R U V |
---|
Jump to: | +
A C S |
---|
Jump to: | +
A C S |
---|
Jump to: | F P R S |
---|
Jump to: | F P R S |
---|