Apatite
Apatite is a collection of mathematical and scientific algorithms. Currently it implements the API from Ruby's Matrix
class for both Matrix
and Vector
. This API will be added to as needs arise. The goal is for this project to eventually contain everything you could get from SciPy, but in pure Crystal.
Installation
-
Add the dependency to your
shard.yml
:dependencies: apatite: github: watzon/apatite
-
Run
shards install
Usage
require "apatite"
Check out the documentation for usage examples.
Roadmap
- [ ] Linear Algebra
- [x] Vector
- [x] Matrix
- [ ] NDArray
- [ ] Line
- [ ] Plane
- [ ] Polygon
- [ ] LinkedList
Contributing
- Fork it (https://github.com/watzon/apatite/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Chris Watson - creator and maintainer