Skip to content

Commit 364ba39

Browse files
authored
Merge pull request #11 from stdlib-js/feature/sample
Update `sample` API
2 parents 8ba964c + 896cbc9 commit 364ba39

File tree

12 files changed

+990
-163
lines changed

12 files changed

+990
-163
lines changed

docs/references/bib.bib

+15
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,21 @@ @article{vigna:2014
212212
year = {2014},
213213
}
214214

215+
@article{vose:1991,
216+
abstract = {Let \\(\xi\\) be a random variable over a finite set with an arbitrary probability distribution. Improvements to a fast method of generating sample values for \\(\xi\\) in constant time are suggested.},
217+
author = {Michael D. Vose},
218+
doi = {10.1109/32.92917},
219+
issn = {00985589},
220+
journal = {IEEE Transactions on Software Engineering},
221+
keywords = {random, rand, prng, rng, discrete},
222+
month = {sep},
223+
number = {9},
224+
pages = {972--975},
225+
title = {{A linear algorithm for generating random numbers with a given distribution}},
226+
volume = {17},
227+
year = {1991},
228+
}
229+
215230
@article{marsaglia:2003,
216231
abstract = {Description of a class of simple, extremely fast random number generators (RNGs) with periods \\(2^k −1\\) for \\(k = 32, 64, 96, 128, 160, 192\\). These RNGs seem to pass tests of randomness very well.},
217232
author = {George Marsaglia},

lib/node_modules/@stdlib/math/generics/random/sample/README.md

+113-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/node_modules/@stdlib/math/generics/random/sample/examples/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/node_modules/@stdlib/math/generics/random/sample/lib/defaults.json

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/node_modules/@stdlib/math/generics/random/sample/lib/discrete_uniform.js

+37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)