distribution
distribution copied to clipboard
Probability distributions for Ruby.
As of Ruby 3.1, the `prime` gem is [no longer distributed as a part of the standard library and must be bundled explicitly](https://github.com/ruby/ruby/blob/v3_1_0/NEWS.md#stdlib-updates). I believe the fix is straightforward: include...
This error show in my console : `.rvm/gems/ruby-2.4.1@app/gems/distribution-0.7.3/lib/distribution/math_extension/incomplete_beta.rb:14: warning: constant ::Fixnum is deprecated` Can you fix this please?
It would be nice to make sure Distribution works in Rubinius by updating `.travis.yml`. The same for JRuby. Both are currently commented out.
Each distribution under `Distribution` has several different implementations depending on the libraries installed: pure Ruby, GSL, Java or statistics2. Each implementation lives under a module named after the library with...
As can be seen in [Code Climate](https://codeclimate.com/github/SciRuby/distribution/code), the worst scores of Distribution are located in the `MathExtension` module and the modules inside it. Since Ruby has some new functions in...
(Original: [clbustos/distribution#3](https://github.com/clbustos/distribution/issues/3)) Each module should have a method to return an array of random numbers, or adapts #rng to return an array.
Some of the currently supported distribution don't have RNGs, e.g. Fisher-Snedecor and exponential. - [ ] Triage the code to see which distributions lack a RNG. - [ ] Prepare...
Using Distribution can be difficult at first. We should ease the learning curve by providing Getting Started-type documentation.
And return an Array with the corresponding results.