Skip to content

Update distribution PRNGs #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Oct 26, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
fa5e691
Increase test threshold
kgryte Oct 25, 2016
77857ce
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into fe…
kgryte Oct 25, 2016
6786744
Fix JSDoc annotations
kgryte Oct 25, 2016
7052bad
Run tests on Node v6
kgryte Oct 25, 2016
46bc9cf
Increase tolerance to sqrt(eps) and add note about approximate equali…
kgryte Oct 26, 2016
ff7d957
Fix duplicate ids
kgryte Oct 26, 2016
926fbb5
Fix reference id
kgryte Oct 26, 2016
f6b581f
Return `NaN` if provided invalid arguments, add goodness-of-fit tests…
kgryte Oct 26, 2016
f2fee3d
Fix exposed underlying PRNG
kgryte Oct 26, 2016
95e391d
Fix reference DOI link
kgryte Oct 26, 2016
24d5235
Fix missing verb
kgryte Oct 26, 2016
36b83cd
Add test value
kgryte Oct 26, 2016
c4c8a86
Return `NaN` if provided invalid arguments, enable KS tests, and clea…
kgryte Oct 26, 2016
d666f93
Return `NaN` if provided an invalid argument, enable KS tests, and cl…
kgryte Oct 26, 2016
cbcf444
Remove newlines
kgryte Oct 26, 2016
1d52b34
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into fe…
kgryte Oct 26, 2016
c9c41fb
Alias factory method directly
kgryte Oct 26, 2016
67718de
Replace magic numbers
kgryte Oct 26, 2016
4756783
Return `NaN` if provided invalid arguments, enable KS tests, and clea…
kgryte Oct 26, 2016
643d168
Return `NaN` if provided invalid arguments, enable KS tests, and clea…
kgryte Oct 26, 2016
7e2e2bf
Update description
kgryte Oct 26, 2016
b4ff854
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into fe…
kgryte Oct 26, 2016
1105717
Add support for Node.js v7+
kgryte Oct 26, 2016
9de0523
Restore builds on the most recent Node release
kgryte Oct 26, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/references/bib.bib
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ @article{ahrens:1974
year = {1974},
}

@article{hormann:1993,
@article{hormann:1993a,
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.},
author = {Wolfgang H\"{o}rmann},
doi = {10.1080/00949659308811496},
Expand Down Expand Up @@ -534,7 +534,7 @@ @book{knuth:1997
year = {1997},
}

@article{hormann:1993,
@article{hormann:1993b,
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.},
author = {W. H\"{o}rmann},
doi = {10.1016/0167-6687(93)90997-4},
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/math/base/random/binomial/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/math/base/random/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 41 additions & 10 deletions lib/node_modules/@stdlib/math/base/random/poisson/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions lib/node_modules/@stdlib/math/base/random/poisson/lib/_poisson.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading