Re: [eigen] New true array class ?

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


Well, just do issue the command

hg clone http://bitbucket.org/eigen/eigen/

and you'll have it all.

Marton

2010/1/27 John Roll <john@xxxxxxxxxxxxxxx>:
>
> When you say it's in the development branch maybe you could help us hg
> challenged folks with an example checkout?  I know there are instruction on
> the wiki but I haven't seceded in getting the array stuff.
>
> Thanks,
>
> John
>
>
> Benoit Jacob wrote:
>>
>> 2010/1/27 Boris Mansencal <boris.mansencal@xxxxxxxx>:
>>
>>>
>>> Hi,
>>>
>>> I have some questions relative to Gael's work on true Array class (with
>>> component wise operations) :
>>> - Has its fork been merged with main development branch ?
>>>
>>
>> Yes.
>>
>>
>>>
>>> - How do we declare a vector and apply sin() to it ?
>>>  The following code does not compile (with both branches) :
>>>  Eigen::ArrayXd v1(N);
>>>  //...
>>>  Eigen::ArrayXd v2 = sin(v1);
>>>
>>
>> Hm it's either std::sin (so make sure you have using namespace std) or
>> ei_sin or v1.sin();
>>
>> Benoit
>>
>>
>>>
>>> Thanks a lot,
>>>
>>> Boris.
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>
>



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