NormaleDistribution/README.md

41 lines
684 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Normale
## Installation
```sh
gem install normale_distribution
```
or in the ``Gemfile``
```ruby
gem 'normale_distribution'
```
## Usage in Ruby
```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
```sh
rake test
```
## Contributes !
Find a bug ? Want a new feature ?
Create a clear pull request and we'll see :)
- Nephos (poulet_a)