Table des matières

, ,

Gaol : NOT Just Another Interval Library

Gaol est une bibliothèque C++ développée par Frederic Goualard pour l'arithmétique des intervalles.

Il n'existe pas de dépôt pour cette bibliothèque. Ce tutoriel explique comment l'installer à partir des sources.

Pré-requis

Avoir téléchargé les archives de gdtoa, mathlib et gaol sur sourceforge :

Installation de gdtoa

tar xvf gdtoa-*.tar.gz && cd gdtoa-*
make
sudo cp *.h /usr/local/include/
sudo cp libgdtoa.a /usr/local/lib/

Installation de mathlib

tar xvf mathlib-*.tar.gz && cd mathlib-*
./configure --prefix=/usr/local
make
sudo make install

Installation de gaol

tar xvf gaol-*.tar.gz && cd gaol-*
./configure --prefix=/usr/local
make
sudo make install

Utilisation

g++ ... -lgaol -lm -lultim -lgdtoa

Voir aussi