Re: [eigen] Support for true Array

[ Thread Index | Date Index | More Archives ]


I am a bit late but I just wanted to say that I am very favorable to have true array support in Eigen.

On 11/06/2009 01:58 PM, Gael Guennebaud wrote:


I now we already have way too much modules/features which have to be polished before thinking about new features, but anyway, let me do this proposal.

Eigen has a very good support for mathematical matrices. Even though many kind of array-like operations can be performed on our matrices via the cwise() prefix, we are still lacking a true support for array of scalars. In particular, it would be very convenient to have an Array class that you could use just like a scalar value, all operations being berformed coefficient wise.

I am just starting to look at Eigen, and an array class is exactly what I was looking for. I hoped I could have lazy evaluation and SIMD optimizations for simple operations on arrays of 'double' and even 'complex'. It would be very useful for audio applications.

For now, it is rather cumbersome to have to add some .cwise() here and there to have this behaviour. Thus an Array class would be really welcomed.

Just my 2 cents,


Mail converted by MHonArc 2.6.19+