gsl_test, a C++ code which uses the GNU Scientific Library.

GSL includes functions for:


g++ myprog.C -lgsl -lgslcblas
compiles myprog.C and links it with GSL and the necessary BLAS routines.


The computer code and data files made available on this web page are distributed under the GNU LGPL license.


gsl_test is available in a C version and a C++ version.

Related Data and Programs:

BLAS1, a C++ code which implements the BLAS Level 1 vector-vector routines, which is included in GSL.

POLPAK, a C++ code which evaluates various recursive polynomials and other special functions.

TEST_VALUES, a C++ code which returns a few values of various special functions.


  1. the GSL home page.
  2. Mark Gelassi, Jim Davies, James Tyler, Bryan Gough, Gerard Jungman, Patrick Alken, Michael Booth, Fabrice Rossi,
    GNU Scientific Library Reference Manual,
    Network Theory Ltd, Third Edition, 2009,
    ISBN: 0954612078.

Source Code:

Last revised on 31 August 2005.