Go to file
2017-04-13 22:48:50 +01:00
certs init 2016-05-03 22:40:14 +02:00
lib init 2016-05-03 22:40:14 +02:00
test init 2016-05-03 22:40:14 +02:00
.gitignore init 2016-05-03 22:40:14 +02:00
CHANGELOG init 2016-05-03 22:40:14 +02:00
Gemfile init 2016-05-03 22:40:14 +02:00
Gemfile.lock init 2016-05-03 22:40:14 +02:00
LICENSE Add license GPL-3.0 2017-04-13 22:48:50 +01:00
normale_distribution.gemspec Add license GPL-3.0 2017-04-13 22:48:50 +01:00
Rakefile init 2016-05-03 22:40:14 +02:00
README.md init 2016-05-03 22:40:14 +02:00
version init 2016-05-03 22:40:14 +02:00

# 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)