Re: [eigen] New true array class ? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] New true array class ?
- From: Márton Danóczy <marton78@xxxxxxxxx>
- Date: Wed, 27 Jan 2010 18:57:26 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=ZnmbdGkjITQJVcMQhM1uQ7DgbDR+ATVVCRnTsRzbL5g=; b=k9Al37vII7W6QF5oCgX5DZzNxkSiIu3poFAyNLbBFnVIfYMRJ8LD0qCCoTB96UPly2 vD9O+jkMy2fMANXQ2kftEAvFpOfQ/Rzbutu+GeEp6w+HX/I+Jzba4sDvhqD4DUn9rFsy BMHJQwpw4rGLxRD2VQLogiRgnu9nWe1tduqKI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=ogqhJs6zOFxc5l+aFeksE5x98vyxd6CG2x8/nHzT0CkNQryV74iFu6ofxGXmOp4CUQ WexBlnf1Nep77djZDxPUoKFPjcb1wqfu5qy5qSGrcYlPw4IbFcgS99qX0k8PXQKJazI9 LoOE7XJsqpPkdajQvnqPymUec6AyDuDK//SLc=
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.
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>
>