This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
A templated GSL version
- From: Walter Schreppers <wschrep at leibniz dot ruca dot ua dot ac dot be>
- To: gsl-discuss at sources dot redhat dot com
- Date: 10 Nov 2003 15:01:49 +0100
- Subject: A templated GSL version
- Organization:
Hi,
I was wondering if anyone has made efforts to make GSL templated. The
problem with the existing C++ wrappers is that only the standard types:
long, double, float etc. work with the routines. The reason for asking
is that we are verry interested in using gsl with our own
multiprecision, multibase library Arithmos. So far we found a couple of
matrix libraries which are able to use our multiprecision types: uBlas,
gmm++, mtl, itl. Unfortunately none of these provide the same amount of
functionality as gsl. We also tried to use a precompiler (with similar
goals as the SWIG tool) to convert the gsl sources but it still required
a lot of manual modifications when we tried to convert the routines
using blas (mainly replacing malloc's by new and delete operations
because mallocs do not work with C++ classes such as our Mpieee class).
We also fear that manual conversion is a waste of time because the
effort will be lost when a new release of GSL comes out.
Kind regards,
Walter
--
-----------------------------< Walter Schreppers >-----------------------------
CANT research group
Mathematics & Computer Science Tel (+32)3/218.08.62
University of Antwerp (UA) GSM (+32)486/11.88.36
Middelheimlaan 1 Email walter.schreppers@ua.ac.be
B-2020 Antwerpen http://win-www.ruca.ua.ac.be/u/cant
Belgium http://win-www.ruca.ua.ac.be/u/wschrep
-------------------------------------------------------------------------------