Created: 2008-10-22 03:04
Updated: 2018-12-12 04:29


Math::GSL is a Perl interface to the GNU Scientific Library, using SWIG. The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License. Math::GSL uses SWIG to generate Perl bindings to most GSL functionality.

Build Status


CPAN distribution dependencies

Currently Math::GSL requires at least Perl 5.8.1 and GSL 1.15 to compile. It also requires that the gsl-config binary can be found in your PATH or PkgConfig to find GSL.

Git repo dependencies

SWIG >= 2.x is needed to build Math::GSL from the git repo, in addition to all the dependencies above. 2.0.8 or newer is required to work with Perl 5.20 and higher. SWIG 3.x is recommended.

On OS X with Homebrew, you can install swig with:

brew install swig


To install this module, run the following commands:

perl Build.PL
./Build test
./Build install clean


After installing, you can find documentation for this module with the perldoc command.

perldoc Math::GSL

You can also look for information at:


Known bugs/issues:

AnnoCPAN, Annotated CPAN documentation

CPAN Ratings

Search CPAN

Copyright and Licence

Copyright (C) 2008-2018 Jonathan "Duke" Leto and Thierry Moisan.

A full list of contributors is listed in the CREDITS file.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Fuck Yeah.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more