Skip to content

Commit 411d39c

Browse files
authored
Merge pull request #9 from stdlib-js/feature/random
Update distribution PRNGs
2 parents 48fbdab + 9de0523 commit 411d39c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1591
-857
lines changed

Diff for: docs/references/bib.bib

+2-2
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ @article{ahrens:1974
251251
year = {1974},
252252
}
253253

254-
@article{hormann:1993,
254+
@article{hormann:1993a,
255255
abstract = {The transformed rejection method, a combination of inversion and rejection, which can be applied to various continuous distributions, is well suited to generate binomial random variates as well. The resulting algorithms are simple and fast, and need only a short set-up. Among the many possible variants two algorithms are described and tested: BTRS a short but nevertheless fast rejection algorithm and BTRD which is more complicated as the idea of decomposition is utilized. For BTRD the average number of uniforms required to return one binomial deviate less between 2.5 and 1.4 which is considerably lower than for any of the known uniformly fast algorithms. Timings for a C-implementation show that for the case that the parameters of the binomial distribution vary from call to call BTRD is faster than the current state of the art algorithms. Depending on the computer, the speed of the uniform generator used and the binomial parameters the savings are between 5 and 40 percent.},
256256
author = {Wolfgang H\"{o}rmann},
257257
doi = {10.1080/00949659308811496},
@@ -534,7 +534,7 @@ @book{knuth:1997
534534
year = {1997},
535535
}
536536

537-
@article{hormann:1993,
537+
@article{hormann:1993b,
538538
abstract = {The transformed rejection method, a combination of the inversion and the rejection method, which is used to generate non-uniform random numbers from a variety of continuous distributions can be applied to discrete distributions as well. For the Poisson distribution a short and simple algorithm is obtained which is well suited for large values of the Poisson parameter \\(\mu\\), even when \\(\mu\\) may vary from call to call. The average number of uniform deviates required is lower than for any of the known uniformly fast algorithms. Timings for a C implementation show that the algorithm needs only half of the code but is - for \\(\mu\\) not too small - at least as fast as the current state-of-the-art algorithms.},
539539
author = {W. H\"{o}rmann},
540540
doi = {10.1016/0167-6687(93)90997-4},

Diff for: lib/node_modules/@stdlib/math/base/random/binomial/README.md

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

Diff for: lib/node_modules/@stdlib/math/base/random/binomial/lib/binomial.js

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

Diff for: lib/node_modules/@stdlib/math/base/random/binomial/lib/sample2.js

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

Diff for: lib/node_modules/@stdlib/math/base/random/exponential/README.md

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

Diff for: lib/node_modules/@stdlib/math/base/random/exponential/lib/factory.js

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

Diff for: lib/node_modules/@stdlib/math/base/random/exponential/test/test.factory.js

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

Diff for: lib/node_modules/@stdlib/math/base/random/geometric/test/test.factory.js

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

Diff for: lib/node_modules/@stdlib/math/base/random/package.json

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

Diff for: lib/node_modules/@stdlib/math/base/random/poisson/README.md

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

Diff for: lib/node_modules/@stdlib/math/base/random/poisson/lib/_poisson.js

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

0 commit comments

Comments
 (0)