Re: [eigen] Proposal: documentation for Eigen3

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


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



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/