e01.org

GNU Scientific Library

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. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

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.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"GNU Scientific Library". 1781091488. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1358715438

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·