Skip to content

ruivieira/crystal-gsl

Repository files navigation

crystal-gsl

Linux CI MacOS CI Windows CI

GNU Scientific Library (GSL) binding for Crystal

Installation

Add this to your application's shard.yml:

dependencies:
  gsl:
    github: ruivieira/crystal-gsl

System dependencies

Ubuntu

  • libatlas-base-dev
  • libgsl-dev

Fedora

  • gsl
  • gsl-devel

MacOS

  • brew install gsl

Windows

Usage

require "gsl"

Documentation

Full documentation can be found at here.

Examples

Examples can be found here.

Warning:

  • Not fully test
  • Pre-release (API will break)
  • Not fit for production

Status

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
  • Optimization
    • Scalar functions minimization
    • Scalar functions root finding

Contributing

  1. Fork it ( https://github.com/ruivieira/crystal-gsl/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • ruivieira Rui Vieira - creator, maintainer
  • dylandy Dylandy Chang - developer, maintainer
  • konovod Andrey Konovod - developer