Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.