Re: [eigen] unpleasant surprise mit math functions

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


On 09/22/2012 10:21:11 PM, Gael Guennebaud wrote:
Hi,

there is indeed something very strange happening. I've no idea why
sin(t) with t a VectorXd does compile.

Hi,

what rational forces one to disallow sin(t) for t beeing a DenseMatrix object?
Couldn't it be defined resorting to  sin(t.array()) internally?

Thanks,
Helmut.



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