MzGSL: MzScheme Bindings to the GNU Scientific Library
The "mzgsl.plt" PLaneT package provides bindings to the
GNU Scientific Library. It
is currently very incomplete: only the random number generators from
the GSL are bound.
You can use the bindings from "mzgsl.plt" in your programs by
issuing the command (require(planet"all.ss"("wmfarr""mzgsl.plt"30))) or, in shortened notation (require(planetwmfarr/mzgsl:3:0/all)). The "all.ss" module exports all
bindings of the "mzgsl.plt" package.
The mzgsl.plt package is released under the GPL; see the
License section of this document for more information.
"mzgsl.plt" is maintained by
Will M. Farr; send feature requests and
bug reports to that address.
The system makes a reasonable effort to find the libraries for the GSL
and GSL’s CBLAS on your system; if it cannot, report it as a bug, and
I’ll add the appropriate code to locate the GSL on your system.
The following functions are provided by "gsl-rng.ss". The
naming scheme follows very closely the GSL naming scheme, with
_ replaced by -, and an ! inserted in
gsl-rng-set!. Note also that gsl-rng-state-set! is
provided even though that is not a function in the GSL library.
Allocating and modifying GSL RNGs. Note that a gsl-rng-free
procedure is *not* provided by the library; memory management is
automatic in this library. The alloc and clone functions
automatically register a finalizer for the allocated generator.