Re: [eigen] Proposal: documentation for Eigen3 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Proposal: documentation for Eigen3
- From: David Roundy <roundyd@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 5 Jun 2010 09:07:47 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=g7fiAM4KaBDNv3G9mtz9KKWURjEOpAMqAqaa1jA/OhY=; b=lIHfDK4csCTEwYSdCu1vnDekb01WVXmmfWeMQCjK3XIUEsBAcbDaIvdPNgqewSqlcc NFLF60Ghr/8XjAAw7iJ2eONRqdw9d1GL+lG7cT7CYai4hRhoTIGdSGBbFO5zYZKnv5te XIPFI6JzEc80zSWPP6NvatTw4XuDiM2jJ/oQ0=
- 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=vfH+yKcVIPAkYOHvL+7whydg30c2g/FMCIVLb/0/cSyTl4njBCpGCeHMvrpD2QyS83 +B7QuDUfwBUkDecBY1vEY6+Uq0mXrE8MQ2dbRtbR/5qV4hUPvaL19KvYesk+oGTsZt2D S1UKdZ8xdfWWM9cGoCLRir01EZafLpgeZLgmg=
On Sat, Jun 5, 2010 at 8:23 AM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>> There isn't any discussion of how to create one's own classes. In
>> particular, I'd like to create a class that inherits from MatrixBase
>> (or whatever is necessary) such that I can do arithmetic on this
>> class. It's mostly going to be a large array, but will also contain a
>> bit of metadata. I could, of course, include the array as a data
>> member, but then I wouldn't be able to do vector arithmetic on the
>> objects directly, which would uglify the code.
>
> That's right, we should add a page on writing one's own expression
> classes. That goes into 4) in my proposal. In the special case where
> you just want to inherit from Matrix, there is some doc there:
> http://eigen.tuxfamily.org/dox-devel/CustomizingEigen.html#InheritingFromMatrix
Thanks!
--
David Roundy