[eigen] Re: Error when using the += operator on complex vectors

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


Ok I think I just figured it out,
again the array syntax, and now with the * operator

The problem is that this works:

fftData[0] += fftData[2].array();

and to make the last one work I had to add:

fftData[0].array() += fftData[2].array() * fftData[1].array();

shouldn't Matrix = Array be completely prohibited?

On Sat, Jul 24, 2010 at 4:54 PM, Carlos Becker <carlosbecker@xxxxxxxxx> wrote:
Hello, I am trying to do this:

fftData[0] += fftData[2].array() * fftData[1].array();

and I get the error:
THE_EVAL_EVALTO_FUNCTION_SHOULD_NEVER_BE_CALLED_FOR_DENSE_OBJECTS

fftData is an array of VectorXcf, is this a bug or is it warning me about something I should not do?

Thanks



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