|
Boost : |
Subject: Re: [boost] Interest in multi-dimensional array class templates.
From: Joel falcou (joel.falcou_at_[hidden])
Date: 2011-06-18 20:51:38
On 18/06/11 17:38, Brian Smith wrote:
> The boilerplate expression templates have already been implemented for
> scalars, vectors and matrices. The original idea was to include the
> various matrix types and supply algorithms for the algebra that did
> not rely on LAPACK since Fortran layout or adaptation of it has not
> been implemented.
Not using BLAS/LAPAKC when you can is really shootign your own foot.
No way you can beat those. The architecture where they are not avialable
ar nowadays very scarce. As for FORTRAn adaptation, beign able to
specify a custom storage order should be possible and is usually trivial
once you get a proper abstraction of data block management whicvh is
*not* the stupid old T* with polynomial index access.
> At some point collaboration would probably have been
> necessary, either that or integration of a suitable library written in
> C++.
Without wanting to derails the thread, we have a large effort going on
nt2 atm.
> Other commitments however have slowed progress and your
> observation about the work involved is well received. At the moment
> I'm not sure of the best way forward for the development of this part
> of the library. As far as the multi-dimensional arrays are concerned
> expression templates have not been implemented the rudiments were put
> in place for anyone to roll their own. In general though that will not
> be necessary since the intention was for them to be useful as is.
What i wanted to say is that using proto makes you concentrate on the
real deal. No need to reivnetn ET for the 23458th times.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk