[eigen] Feature request for array

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,
 
Eigen is really a nice piece of work. Thanks!
 
In scientific computing, one and two (or even higher) dimensional arrays are widely used. It would be nice to have the following function:
 
1dArray A(10), B(10), C(10);
A(4:10) = B(4:10) + C(4:10);
 
I do not know the professional term for this, maybe stencil? In fortran, this function for array is built-in. Blitz++ provides such function for array and claimed performance in par with fortran. How about incorporating this staff in Eigen?
 
Cheers,
Jinglei


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/