SciRuby / distribution

Probability distributions for Ruby.
http://sciruby.com/
Other
50 stars 21 forks source link

All distributions should have RNGs #21

Open agarie opened 9 years ago

agarie commented 9 years ago

Some of the currently supported distribution don't have RNGs, e.g. Fisher-Snedecor and exponential.

envp commented 8 years ago

Currently these are the distribution with an rng method (grep -rl def\ rng ./lib/distribution):

That leaves the following with no rng method defined:

Let me know if I missed something.

agarie commented 8 years ago

@vaibhav-y that's very good. Can you update the table in the README.md file? Just send a PR with that and I'll merge it.

envp commented 8 years ago

PR https://github.com/SciRuby/distribution/pull/34 added for README.

This PR doesn't consider changes uniform distribution since SciRuby/distribution hasn't merged it yet. I will rebase that PR and update the README there itself.

Edit: Please don't close this PR yet, I intend to use this to track the implementations for the rng methods which seem to be the only outstanding things as of now (apart from gamma distribution's Inverse CDF)

agarie commented 8 years ago

That's fine. I'll merge #34 as soon as it passes Travis.