Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fredrikaugust/exmath
Some math functions in Elixir to help me in maths
https://github.com/fredrikaugust/exmath
elixir math probability
Last synced: about 1 month ago
JSON representation
Some math functions in Elixir to help me in maths
- Host: GitHub
- URL: https://github.com/fredrikaugust/exmath
- Owner: FredrikAugust
- License: mit
- Created: 2017-04-04T08:33:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-07T14:45:22.000Z (over 7 years ago)
- Last Synced: 2024-11-29T11:57:43.279Z (about 1 month ago)
- Topics: elixir, math, probability
- Language: Elixir
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Exmath
Exmath is a library that provides some quite specific math formulas.
## Functions
* 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## Installation
Add this to your `mix.exs` file.
```elixir
def deps do
[{:exmath, "~> 0.1.0"}]
end
```## Documentation
You can generate documentation by moving to the project directory and running
`mix docs`, and opening `docs/index.html` with your favourite browser.