>
> I was using an ArrayXXf (also tried MatrixXf) to store the array.
>
> best,
> Hari
>
> On Mon, Mar 14, 2011 at 9:18 AM, Benoit Jacob <
jacob.benoit.1@xxxxxxxxx>
> wrote:
>>
>> 2011/3/14 Gael Guennebaud <
gael.guennebaud@xxxxxxxxx>:
>> > On Mon, Mar 14, 2011 at 12:48 AM, Hari Sundar <
hsundar@xxxxxxxxx> wrote:
>> >> For example a simple 4x4 * 4*1 multiplication takes around 0.5msec.
>> >
>> > hm, that's indeed extremely slow... which compiler? flags?
>> >
>> > for instance here a 4x4 * 4x1 product takes less than 4e-6msec, and
>> > even in debug mode (-g2) with a very old gcc 3.4 it takes less than
>> > 0.0008 msec...
>>
>> If his matrix has NaN values, that could explain another 500x factor.
>>
>> Benoit
>>
>> >
>> > gael
>> >
>> >
>> >
>>
>>
>
>
>
> --
>
+1 (215) 501 7752
>
https://www.rad.upenn.edu/sbia/hsundar/
>