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: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Wed, 27 Jan 2010 13:04:40 -0500
- 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 :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Q1YoaCTMBsCrGY8rceEkmllr/rZHiMkPMeJ4V1nkOrU=; b=Uk2Z6kj15iJ0TXmOT7lmSILsDXYIHhVPddnWjsjD/TcpV+Ud9+vt/QyWiONZewjQiw IdQq75zjspT32qPA+JFvZdFncGC9kbpIpZlm1PDACC+6jWh1ZIbodg4aw0LZGVq6lGWw q7C4jCZ9y3+37bVLtyqK5FkMzvRMR8Qhs+e18=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=dcfUZMMW3I8RFuumHWu8xZJlO86XUUcXaidBCQPTvKhbYmkNpARgVoGBJNMSVcln1X 8Y7eNFkijiWQu1alfBEBLQWfhi1IlJabzbFZBYDlihRYuNBX79I0UC0+llHlOncqEc5e kZ3wm2CdHvd4cq5eSOJbNyTPFqYTC53Whogk4=
Yes, and in addition, as we explain on the main page of the wiki, you
can even get it as a tarball generated on demand, without using hg at
all.
2010/1/27 Márton Danóczy <marton78@xxxxxxxxx>:
> 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.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>