certs | ||
lib | ||
test | ||
.gitignore | ||
CHANGELOG | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
normale_distribution.gemspec | ||
Rakefile | ||
README.md | ||
version |
# Normale
Installation
gem install normale_distribution
or in the Gemfile
gem 'normale_distribution'
## Usage in Ruby
require 'normale_distribution'
NormaleDistribution::between standard_deviation: 15, esperance: 100, a: 85, b: 115 # => 0.6826894921370859
NormaleDistribution::less_than standard_deviation: 15, esperance: 100, a: 85 # => 0.15865525393145707
NormaleDistribution::greater_than standard_deviation: 15, esperance: 100, a: 115 # => 0.15865525393145707
Unitary tests
rake test
Contributes !
Find a bug ? Want a new feature ? Create a clear pull request and we'll see :)
- Nephos (poulet_a)