gsl-package: Wrappers for the Gnu Scientific Library

Description Details Author(s) References Examples


An R wrapper for some of the functionality of the Gnu Scientific Library.


The DESCRIPTION file: This package was not yet installed at build time.
Index: This package was not yet installed at build time.

The function naming scheme directly copies the GSL manual except that leading gsl_sf_ and, if present, the trailing _e is stripped: thus gsl_sf_Airy_Ai_e goes to R function airy_Ai(); however, some functions retain the prefix to avoid conflicts (viz gsl_sf_sin(), gsl_sf_cos(), gsl_sf_gamma(), gsl_sf_ choose(), gsl_sf_beta()).

R\ function arguments have the same names as in the GSL reference manual, except for the quasirandom functions documented in the Qrng manpage.

The package is organized into units corresponding to GSL header files; the .c, .R, and .Rd filenames match the GSL header filenames, except that the .Rd files are capitalized. Functions appear in all files in the same order as the GSL reference manual, which precludes the use of the tidying method given in section 3.1 of R-exts. Error forms of GSL functions (_e versions) are used if available.

In general, documentation is limited to: (a), a pointer to the GSL reference book, which would in any case dominate any docs here; and (b), re-productions of some tables and figures in Abramowitz and Stegun (June 1964).


Robin K. S. Hankin [aut, cre] (<>), Andrew Clausen [ctb] (multimin functionality), Duncan Murdoch [ctb] (qrng functions)

Maintainer: Robin K. S. Hankin <>




Example output

[1] 0.1352924163 0.0349241304 0.0065911394 0.0009515639 0.0001083444

gsl documentation built on Nov. 3, 2021, 1:08 a.m.