No Description
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.
Arthur Poulet 24385a6a5f
Add license GPL-3.0
2 years ago
certs init 3 years ago
lib init 3 years ago
test init 3 years ago
.gitignore init 3 years ago
CHANGELOG init 3 years ago
Gemfile init 3 years ago
Gemfile.lock init 3 years ago
LICENSE Add license GPL-3.0 2 years ago
README.md init 3 years ago
Rakefile init 3 years ago
normale_distribution.gemspec Add license GPL-3.0 2 years ago
version init 3 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)