The GNU Scientific Library ( GSL) is a vast collection of robust and well documented numerical functions. It includes support for many special functions, random numbers, interpolation and integration routines, and much more. For more information about GSL, visit http://sources.redhat.com/gsl/.
Many of the routines in the GSL may be made available to the S-lang interpreter via the GSL modules described by this document, whose most recent version may be found at http://space.mit.edu/CXC/software/slang/modules/gsl/.
At the moment, four GSL modules are available:
gslsf: The GSL special function module. Currently,
this module provides an interface to nearly 200 GSL special
functions.
gslconst: The GSL constants module. This module
defines many constants such as CONST_MKS_SPEED_OF_LIGHT,
CONST_CGS_BOLTZMANN, etc.
gslinterp: The GSL interpolation module, which
includes routines for linear interpolation, cubic splines, etc.
gslcore: This is a module that must be loaded before
any of the above modules can be loaded. Its main purpose is to
provide support functions for the other GSL modules.There are many functions that are not yet wrapped. For example, none of GSL's random number routines have been wrapped. Future releases of the GSL module will include more functionality. Nevertheless, what has been implemented should prove useful.