Re: new linear algebra library and memory management improvement

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/new-linear-algebra-library-and-memory-management-improvement-tp11167p11169.html


On 06/22/2006 05:07:43 PM, François du Vignaud wrote:
> I'm hesitating between two solutions for the uBlas migration :
> Embedding all uBlas code in the existing Array and Matrix classes.  
> The main advantage is that no other file would be altered. However it
> seems really tedious to expose all the nice features of uBlas using
> this architecture.

Also, it would be hard to expose expression templates and such for the  
Array and Matrix classes if they embed the uBlas ones.


> Replacing completely all Array and Matrix in the QuantLib code.
> I tend to prefer the second solution.

I too prefer this one, but it would be quite a bit of work (especially  
if we want to maintain backward compatibility for one release.) We can  
try and coordinate the effort so that you're not the only one upon  
whose shoulders the task falls. I'll have a look at uBlas so that I can  
have an idea of how this can be accomplished---drop me a line if you  
have already though of this.

Later,
        Luigi


----------------------------------------

Steinbach's Guideline for Systems Programming:
        Never test for an error condition you don't know how to handle.