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: Rohit Garg <rpg.314@xxxxxxxxx>
- Date: Fri, 8 Jan 2010 12:36:57 +0530
- 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=O81piGvAttTtA+isc70Kl0pfnVk17UcADa5RiIVIeNw=; b=jh9C1vR7qTb19HkEqsu+JIr44jLTmNsJv3xq1qPipmcrc10TBrMKA9e+SKySacsQC/ pLeWDV6n40z6oZ/50OIaRSQ0aY9wBLOz7hPXNgbfeZQC6f5iI0nTQHuzLWiR0E5T0nxe dRzuJekfi3rCLVVFj0MEnHKqwQoRkNADGKW5E=
- 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=JhcAj7Ywl9bDafVel76/7y3teHztgKJSwTcC/71rEthyjDoGGIhdOpq4tP14NtX1x9 qTe/HNtuyatXADiV0fT49Ix+1JmJflk70bFTeT8w/Kzl7949Gr+UwCtS/NQq9QfhinvM 1VFnLdhlIF/Srm0OUXcYsrJNPAceEjFsiNapY=
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