This is the random-sample Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 06:29:43 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
random-sampleRandom 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.asdrandom-sample/package.lisprandom-sample/readtable.lisprandom-sample/random-sample.lisprandom-sample/readtable.lisppackage.lisp (file).
random-sample (system).
random-sample/random-sample.lispreadtable.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-samplealexandria.
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 |
|---|