Help language development. Donate to The Perl Foundation
Math::Libgsl::Raw::Complex - An interface to libgsl, the Gnu Scientific Library - complex numbers.
use Math::Libgsl::Raw::Complex :ALL;
Math::Libgsl::Raw::Complex provides an interface to libgsl's implementation of complex numbers.
This package provides the low-level interface to the C library (Raw).
Math::Libgsl::Complex will not be implemented, because Raku's Complex datatype works just fine. Its Raw counterpart, Math::Libgsl::Raw::Complex, is present because it's needed by other modules that rely on the GSL implementation of complex numbers.
For more details on libgsl see https://www.gnu.org/software/gsl/. The excellent C Library manual is available here https://www.gnu.org/software/gsl/doc/html/index.html, or here https://www.gnu.org/software/gsl/doc/latex/gsl-ref.pdf in PDF format.
This module requires the libgsl library to be installed. Please follow the instructions below based on your platform:
sudo apt install libgsl23 libgsl-dev libgslcblas0
That command will install libgslcblas0 as well, since it's used by the GSL.
libgsl23 and libgslcblas0 have a missing symbol on Ubuntu 18.04. I solved the issue installing the Debian Buster version of those three libraries:
To install it using zef (a module management tool):
$ zef install Math::Libgsl::Complex
Fernando Santagata [email protected]
Copyright 2020 Fernando Santagata
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.