You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 years ago | |
---|---|---|
certs | 7 years ago | |
lib | 7 years ago | |
test | 7 years ago | |
.gitignore | 7 years ago | |
CHANGELOG | 7 years ago | |
Gemfile | 7 years ago | |
Gemfile.lock | 7 years ago | |
LICENSE | 6 years ago | |
README.md | 7 years ago | |
Rakefile | 7 years ago | |
normale_distribution.gemspec | 6 years ago | |
version | 7 years ago |
README.md
# 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)