GNU Scientific Library

Uses your system voice; voice and rate in settings.

Snapshot

≈ 1 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

The GNU Scientific Library (or GSL) is a software library for numerical computations in applied mathematics and science. The GSL is written in C; wrappers are available for other programming languages. The GSL is part of the GNU Project and is distributed under the GNU General Public License.

The GNU Scientific Library (or GSL) is a software library for numerical computations in applied mathematics and science. The GSL is written in C; wrappers are available for other programming languages. The GSL is part of the GNU Project and is distributed under the GNU General Public License. include include int main(void) { double x = 5.0; double y = gsl_sf_bessel_J0(x); printf("J0(%g) = %.18e\n", x, y); return 0; } The example program has to be linked to the GSL library upon compilation: $ gcc $(gsl-config --cflags) example.c $(gsl-config --libs) The output is shown below and should be correct to double-precision accuracy: J0(5) = -1.775967713143382920e-01

See also

List of numerical-analysis software List of numerical libraries List of open-source mathematical libraries Netlib Numerical Recipes

Notes

References

External links

GSL Design Document The gsl package for R (programming language), an R wrapper for the special functions and quasi random number generators. FLOSS FOR SCIENCE interview with Mark Galassi on the history of GSL.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1358715438 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

25 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.