←PPNM

GNU Scientific Library: installation and basic usage

Lecture
  1. GSL installation and basic usage.
  2. gsl-config script.
Reading
  1. GSL manual chapters 'Introduction', 'Using the library', 'Vectors and Matrices', and 'Eigensystems/Real Symmetric Matrices'.
Exercises
  1. Install GSL on your box. First search for the GSL developement library in you system,
    apt-cache search libgsl | grep development
    
    It should return either libgsl0-dev or libgls-dev, depending on your system. Install this package,
    sudo apt-get install libgsl0-dev
    
    or
    sudo apt-get install libgsl-dev
    
    The HomeBrew users should (apparently) use the command
    brew install gsl
    

    Alternatively, you can download the source code and build the library on your box.

  2. Questions 7.
  3. Exercise "GSL". Hints: examples/gsl.