#mathematics #library #gsl

GSL

A rust binding for the GSL (the GNU scientific library)

28 releases (4 major breaking)

Uses old Rust 2015

4.0.1 Jun 9, 2021
4.0.0 Mar 25, 2021
3.0.0 Dec 10, 2020
2.0.1 Nov 9, 2020
0.4.11 Nov 26, 2014

#30 in Math

Download history 159/week @ 2021-02-26 147/week @ 2021-03-05 131/week @ 2021-03-12 292/week @ 2021-03-19 520/week @ 2021-03-26 124/week @ 2021-04-02 169/week @ 2021-04-09 298/week @ 2021-04-16 135/week @ 2021-04-23 191/week @ 2021-04-30 144/week @ 2021-05-07 215/week @ 2021-05-14 290/week @ 2021-05-21 173/week @ 2021-05-28 150/week @ 2021-06-04 135/week @ 2021-06-11

933 downloads per month
Used in less than 8 crates

GPL-3.0+

2MB
56K SLoC

rust-GSL

A Rust binding for the GSL library (the GNU Scientific Library).

Installation

This binding requires the GSL library library (version >= 2) to be installed:

Linux

# on debian based systems:
sudo apt-get install libgsl0-dev

OSX

brew install gsl

Windows

Instructions are available there: https://www.gnu.org/software/gsl/extras/native_win_builds.html.

Usage

This crate works with Cargo and is on crates.io. Just add the following to your Cargo.toml file:

[dependencies]
GSL = "2.0"

You can see examples in the examples folder.

Building

To build rgsl, just run cargo build. However, if you want to use a specific version, you'll need to use the cargo features. For example:

cargo build --features v2_1

If a project depends on this version, don't forget to add in your Cargo.toml:

[dependencies.GSL]
version = "2"
features = ["v2_1"]

Documentation

You can access the rgsl documentation locally, just build it:

> cargo doc --open

Then open this file with an internet browser: file:///{rgsl_location}/target/doc/rgsl/index.html

You can also access the latest build of the documentation via the internet here.

License

rust-GSL is a wrapper for GSL, therefore inherits the GPL license.

Dependencies