Exmath is a library that provides some quite specific math formulas.
- Factorial
- nPr formula
- nCr formula
- Retrieve a row from Pascals triangle
- Hypergeometric distribution
- Average growth between two points in a graph
- All the math functions from erlang (:math)
- Stirling numbers of the second kind
- Bell number
- Pythagoras theorem
Add this to your mix.exs
file.
def deps do
[{:exmath, "~> 0.1.0"}]
end
You can generate documentation by moving to the project directory and running
mix docs
, and opening docs/index.html
with your favourite browser.