Home

Awesome

crystal-gsl

Linux CI MacOS CI Windows CI API Documentation

GNU Scientific Library (GSL) binding for Crystal

Installation

Add this to your application's shard.yml:

dependencies:
  gsl:
    github: konovod/crystal-gsl

Run shards install

System dependencies

Ubuntu

Fedora

MacOS

Windows

Usage

require "gsl"

Documentation

(Incomplete) documentation can be found here. It is generated from sources, so can be messy.

You can also check original GSL docs for details of implementation and theory (https://www.gnu.org/software/gsl/doc/html/)

Examples

You can check spec directory for some simple examples

Warning:

Status

If you know GSL, you can call all GSL functions directly: LibGSL.gsl_some_function(arg, ...). This could be cumbersome, but it works.

For a high-level wrappers, see TODO.md for detailed list on what is done\missing.

Below is a categorized list of what is done (with links to docs):

Contributing

  1. Fork it ( https://github.com/konovod/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