Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruivieira/crystal-gsl
GNU Scientific Library bindings for Crystal
https://github.com/ruivieira/crystal-gsl
bindings crystal crystal-gsl gsl mathematics science scientific-computing
Last synced: about 1 month ago
JSON representation
GNU Scientific Library bindings for Crystal
- Host: GitHub
- URL: https://github.com/ruivieira/crystal-gsl
- Owner: ruivieira
- License: gpl-3.0
- Created: 2016-03-30T17:57:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T15:55:26.000Z (about 2 years ago)
- Last Synced: 2024-08-01T17:32:09.665Z (4 months ago)
- Topics: bindings, crystal, crystal-gsl, gsl, mathematics, science, scientific-computing
- Language: Crystal
- Homepage: https://ruivieira.github.io/crystal-gsl/
- Size: 645 KB
- Stars: 21
- Watchers: 4
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crystal - crystal-gsl - GNU Scientific Library bindings (C bindings)
- awesome-crystal - crystal-gsl - GNU Scientific Library bindings (C bindings)
README
# crystal-gsl
[![Linux CI](https://github.com/ruivieira/crystal-gsl/actions/workflows/linux.yml/badge.svg)](https://github.com/ruivieira/crystal-gsl/actions/workflows/linux.yml)
[![MacOS CI](https://github.com/ruivieira/crystal-gsl/actions/workflows/macos.yml/badge.svg)](https://github.com/ruivieira/crystal-gsl/actions/workflows/macos.yml)
[![Windows CI](https://github.com/ruivieira/crystal-gsl/actions/workflows/windows.yml/badge.svg)](https://github.com/ruivieira/crystal-gsl/actions/workflows/windows.yml)GNU Scientific Library (GSL) binding for Crystal
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
gsl:
github: ruivieira/crystal-gsl
```## System dependencies
### Ubuntu
- libatlas-base-dev
- libgsl-dev### Fedora
- gsl
- gsl-devel### MacOS
- brew install gsl
### Windows
- Recommended on [GSL website](https://www.gnu.org/software/gsl/extras/native_win_builds.html) way to get GSL on Windows is to build manually using .sln files from https://github.com/BrianGladman/gsl
## Usage```crystal
require "gsl"
```### Documentation
Full documentation can be found at [here](https://ruivieira.github.io/crystal-gsl/).
### Examples
Examples can be found [here](https://ruivieira.github.io/projects/crystal-gsl/).
_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](https://github.com/ruivieira) Rui Vieira - creator, maintainer
- [dylandy](https://github.com/dylandy) Dylandy Chang - developer, maintainer
- [konovod](https://github.com/konovod) Andrey Konovod - developer