Stella
Rapid Elixir library providing implementations of the most famous algorithms, data structures and math functions. Key features of this library are:
- a high test coverage (near to 100%)
- good quality documentation with examples of usage to each function
- featured complexity of each action
installation
Installation
The package can be installed by adding stella
to your list of dependencies in mix.exs
:
def deps do
[
{:stella, "~> 0.6.0"}
]
end
Link to hex package: https://hex.pm/packages/stella
documentation
Documentation
Generated with ExDoc: https://hexdocs.pm/stella/Stella.html
content-of-version-0-7-0
Content of version 0.7.0
math
Math
- [x] Cartesian
- [x] Easing functions
- [x] Isometric
- [x] Common number operations like clamp, nearly equal, is power etc
- [x] Time converter (hms, sec, ms etc)
- [x] Vector 2D
- [x] Vector 3D
- [x] Ackermann function
- [x] Fibonacci sequence
- [x] Math intervals
algorithms
Algorithms
- [x] Quick sort
- [x] Counting sort
- [x] Insertion sort
- [x] Binary search
- [x] Bubble sort
data-structures
Data structures
- [x] Queue
- [x] Stack
- [x] Priority queue
- [x] Struct, converting a nested Struct to a nested Map
- [x] Heap with heapsort
contributing
Contributing
We appreciate any contribution to Stella
. You will need to have installed the newest versions of Elixir and Erlang at your machine. Then, follow the steps bellow:
Install project dependencies
$ mix deps.get
Watch tests
$ mix test.watch