[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Re: gsl c++ wrapper ?

From: Leo Razoumov
Subject: Re: [Help-gsl] Re: gsl c++ wrapper ?
Date: Fri, 11 Sep 2009 17:49:32 -0400

On 9/10/09, Rohit Garg <address@hidden> wrote:
>  [..snip..]
> But that still begs the question. Why would you want to use GSL's
>  linear algebra subset?

Here are few:
(1) Simplicity of GSL design
(2) No expression templates !!
(3) support for BLAS with vectorized optimizations (SSE2 and later)
(4) total manual control of resources

I do not want to derogate your project. It could well be very good,
indeed. But my 15+ years of large scale numerical simulations taught
me few lessons. I would pick a simple, clean library with manual
resource management numeric and flat debugging anytime over a "smart"
library like Boost or eigen for that matter.
In most projects I encountered so far coding numeric expressions has
been really a small part of it. Other non-mathematical stuff,
debugging, testing, benchmarking, algorithm optimizations were much
more crucial. And when you optimize algorithms you want to be very
close to your hardware and have full manual control. In numerics I see
people going from C to asm more often than to C++.

Just my two cents.

P.S. I do not want to start or participate in a flame war. Please,
consider all my above statements as just a single data point from one
guy exposed to a subset of numerical problems.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]