Probably 
 
 
Probably is a set of Swift structures for computing the probability and cumulative distributions of different probablistic functions.
Right now, it supports:
- Standard distributions with explicit event probabilities
 - Continuous distributions
 - Binomial distributions
 - Hypergeometric distributions
 - Poisson distributions
 - Gaussian distributions
 - Negative Binomial distributions
 
Installation
Probably is available through the Swift Package Manager.
Just add this git repository as a dependency:
.Package(url: "https://github.com/harlanhaskins/Probably.git", majorVersion: 0, minorVersion: 1)
 
And it should download the project and link it in.
Author
Harlan Haskins @harlanhaskins
License
Probably is released under the MIT license, a copy of which is included in this repo.