Re: [eigen] Feature request for array |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Feature request for array
- From: Aron Ahmadia <aja2111@xxxxxxxxxxxx>
- Date: Fri, 8 Jan 2010 10:49:37 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=YeTwZzzA07qudqjDtAdpCthdRubvQrw9XJTcPN7a8+g=; b=EniTblhy39NwLEbE4yOy9Qnd5Pq+US9CbKiKQMalybtdUTNkvhzu/hOksLcHNFVgfP 2rmYsMrWze2gPIQNx44bh6WKCvAXegy3dtchFjwUeXW0tvqwP7IkaOtkgRto29wTCS9s Lhi6Mg7unAijoCby65+GSdVm+ZD7W+6D0f2Tc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=diTGo/tnJTZT1MjXoYpXXw1ORMrxHHdKmyOqAtbBKzSCXhui19o8bfIQFWvkGLEUQ4 2bIZWNX5i4d4qqUCNsTVMDSXiiheh9K35Zrkv48cVFI94brX7eBCdZpjV8zRcviStBR5 CmhKu7FL5HEb5UFvMP+IuXJU4gzksIMJgJW4c=
Dear Jinglei,
I think so too, also, the word you are looking for is 'slicing'.
Stencil refers usually to the discretization of a differential
operator, which when performed on a finite difference/finite element
discretization, usually refers to a local slice of your array around
the evaluation point.
HTH,
A
On Fri, Jan 8, 2010 at 10:06 AM, Rohit Garg <rpg.314@xxxxxxxxx> wrote:
> I think this can be done TODAY in eigen using segments.
>
> 2010/1/8 Jinglei Hu <jingleihu@xxxxxxxxx>:
>> Hi,
>>
>> Eigen is really a nice piece of work. Thanks!
>>
>> In scientific computing, one and two (or even higher) dimensional arrays are
>> widely used. It would be nice to have the following function:
>>
>> 1dArray A(10), B(10), C(10);
>> A(4:10) = B(4:10) + C(4:10);
>>
>> I do not know the professional term for this, maybe stencil? In fortran,
>> this function for array is built-in. Blitz++ provides such function for
>> array and claimed performance in par with fortran. How about incorporating
>> this staff in Eigen?
>>
>> Cheers,
>> Jinglei
>
>
>
> --
> Rohit Garg
>
> http://rpg-314.blogspot.com/
>
> Senior Undergraduate
> Department of Physics
> Indian Institute of Technology
> Bombay
>
>
>