/
Depends on
- gsl (libgsl-dev)
- libmodule-build-perl (libmodule-build-perl)
- libpkgconfig-perl (libpkgconfig-perl)
- libscalar-list-utils-perl (libscalar-list-utils-perl)
- libtest-class-perl (libtest-class-perl)
- libtest-exception-perl (libtest-exception-perl)
- libtest-most-perl (libtest-most-perl)
- libtest-simple-perl (libtest-simple-perl)
- libtest-taint-perl (libtest-taint-perl)
- libversion-perl (libversion-perl)
- perl (perl, perl-xs-dev)
- swig (swig)
- debhelper-compat
README (full)
Math::GSL
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.
Dependencies
Currently, Math::GSL requires at least Perl 5.8.1 to compile.
Library dependencies
-
GSL version 1.15 or larger. If you have installed GSL on your system, the location of the library files are determined by running the
gsl-configbinary. If it cannot be found in yourPATH, PkgConfig is tried to locate GSL. -
If you have not installed GSL on your system,
Alien::GSLis used to install the latest version on your system.Alien::GSLdepends onNet::SSLeayto download the library, which requires that you have installedlibssl-devandlibz-dev(on Debian platforms, or similar libraries on other platforms).
Installation
To install this module, run
cpanm Math::GSL
or download the tarball distribution from metacpan.org and run the following commands:
perl Build.PL
./Build
./Build test
./Build install clean
Support
After installing, you can find documentation for this module with the perldoc command.
perldoc Math::GSL
You can also look for information at:
MetaCPAN: https://metacpan.org/release/Math-GSL
Known bugs/issues: https://github.com/hakonhagland/perl-math-gsl/issues/
Developer information
Git repo dependencies
SWIG >= 2.x is needed to build Math::GSL from the git repo, version
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
Upgrading and uploading
Copyright and Licence
Copyright (C) 2008-2024 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.
| dir | c/ |
| dir | debian/ |
| dir | examples/ |
| dir | inc/ |
| dir | lib/ |
| dir | pm/ |
| dir | pod/ |
| dir | swig/ |
| dir | t/ |
| dir | xs/ |
| dir | xt/ |
| file | Build.PL |
| file | CONTRIBUTING.md |
| file | CREDITS |
| file | Changes |
| file | KNOWN_BUGS |
| file | MANIFEST |
| file | MANIFEST.SKIP |
| file | META.json |
| file | META.yml |
| file | README.md |
| file | RELEASE.pod |
| file | TODO |