# AMPL Bindings for the GNU Scientific Library¶

The GNU Scientific Library (GSL) is a collection of routines for numerical computing. The routines have been written from scratch in C, and present a modern Applications Programming Interface (API) for C programmers, allowing wrappers to be written for very high level languages. The source code is distributed under the GNU General Public License.

The AMPLGSL library provides AMPL bindings for the GNU Scientific Library and is distributed under the same license.

## Front Matter¶

This documentation is based on the GNU Scientiﬁc Library reference manual by

• Mark Galassi, Los Alamos National Laboratory

• Jim Davies, Department of Computer Science, Georgia Institute of Technology

• James Theiler, Astrophysics and Radiation Measurements Group, Los Alamos National Laboratory

• Brian Gough, Network Theory Limited

• Gerard Jungman, Theoretical Astrophysics Group, Los Alamos National Laboratory

• Patrick Alken, Department of Physics, University of Colorado at Boulder

• Michael Booth, Department of Physics and Astronomy, The Johns Hopkins University

• Fabrice Rossi, University of Paris-Dauphine

The current manual documents the AMPL Bindings for GNU Scientific Library (GSL), a collection of numerical routines for scientific computing. It corresponds to release 1.15 of the library.

AMPL wrappers of the GSL functions always use the highest accuracy available. A GSL function may take a mode argument that allows the accuracy of the function to be reduced in order to improve performance. Currently the mode argument is always bound to GSL_PREC_DOUBLE denoting double-precision, a relative accuracy of approximately $$2 \times 10^{-16}$$.