GNU Scientific Library (GSL) binding for Crystal
Add this to your application's shard.yml
:
dependencies:
gsl:
github: ruivieira/crystal-gsl
- libatlas-base-dev
- libgsl-dev
- gsl
- gsl-devel
- brew install gsl
- Recommended on GSL website way to get GSL on Windows is to build manually using .sln files from https://github.com/BrianGladman/gsl
require "gsl"
Full documentation can be found at here.
Examples can be found here.
Warning:
- Not fully test
- Pre-release (API will break)
- Not fit for production
Implementation list:
- Statistical
- Distributions
- Binomial
- Chi-square
- Uniform
- Exponential
- Cauchy
- Gaussian (univariate and multivariate)
- Poisson
- Multinomial
- Gamma
- Vectors
- Matrices
- Sparse and dense matrices
- Histograms
- Permutations
- Distributions
- Optimization
- Scalar functions minimization
- Scalar functions root finding
- Fork it ( https://github.com/ruivieira/crystal-gsl/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