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.
-
Add the dependency to your
shard.yml:dependencies: apatite: github: watzon/apatite
-
Run
shards install
require "apatite"Check out the documentation for usage examples.
- Linear Algebra
- Vector
- Matrix
- NDArray
- Line
- Plane
- Polygon
- LinkedList
- 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
- Chris Watson - creator and maintainer