Re: [eigen] Eigen rocks

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


Yes that's what you want for 4).

For 3) if you want to access the memory, the data() method returns the
pointer to the array of coefficients.

For 1), Eigen itself doesn't do any multithreading, but on the plus
side, Eigen is stateless so completely (trivially) thread-safe.

For 2), that's because these operations are inherently hard to
vectorize using standard SIMD instructions, they do not easily split
into basic operations such as addition, dot product, etc. I guess a
SIMD guru would be able to do something, contributions welcome, but
that's not easy at all.

Cheers,
Benoit

2009/2/27 Ricard Marxer Piñón <email@xxxxxxxxxxxxxxxx>:
> I don't know for 1) and 2).  I know
>
> but for 3) and 4) you want the Map class that Eigen provides:
>
> Search for Map in the tutorial:
> http://eigen.tuxfamily.org/dox/TutorialCore.html#TutorialCoreSpecialTopics
>
> Look at the Map class:
> http://eigen.tuxfamily.org/dox/classEigen_1_1Map.html
>
> or the Map() static functions from the Matrix class:
> http://eigen.tuxfamily.org/dox/classEigen_1_1Matrix.html
>
>
> On Fri, Feb 27, 2009 at 5:07 PM, Rohit Garg <rpg.314@xxxxxxxxx> wrote:
>>
>> Hi all,
>>
>> To devs and contributors,
>>
>> EIGEN ROCKS
>>
>> On a more sober note,
>>
>> 1) Is eigen multithreaded? I think not because there is no
>> documentation on how to decide the number of threads.
>>
>> 2) Quaternion rotations only take Vector4f, then why are they not
>> vectorized? Or is it on the informal todo list. It isn't on the formal
>> one.
>>
>> 3) How do I access the memory hidden behind the class interface of the
>> Matrix/Vectors. People may need it to perform some other stuff using
>> some other libraries. Eigen is great but doesn't solve all the world's
>> problems yet.
>>
>> 4) And yes it's converse. I wish to set the elements of a
>> matrix/vector from a given pointer. Can that be done?
>>
>> I am pretty sure that 1) and 2) will be done, butt what about 3) and 4).
>>
>> Regards,
>>
>> --
>>
>> Rohit Garg
>>
>> http://rpg-314.blogspot.com/
>>
>> Senior Undergraduate
>> Department of Physics
>> Indian Institute of Technology
>> Bombay
>>
>>
>
>
>
> --
> ricard
> http://www.ricardmarxer.com
> http://www.caligraft.com
>



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