Re: [eigen] random thoughts -- we need more Gaels |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] random thoughts -- we need more Gaels
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sun, 3 Oct 2010 14:55:58 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=i25oyDIGh/bfxxvV867I+y4ieNjRvs4rxef/NTROZi8=; b=cRZvw8BD67J1164WvL1YTjfax4pu4JCW3EOuRiGpkHF5HR+s4IErRWqPOxgGWeV3J4 hv4UrIKB2/VSOLtJqtiJ/HclhzVVvjWGAWghGCndx6s5mYIBq3J5xQh1ws1t9YqU3Qx6 0vkVBF1AeojnYdot9ZDuJGSw21y9dLttHpIWA=
- 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; b=dJ7c1H3Be/V9URfaP51DofYGkO5gUx0ax+DOxTxrcH5cnc3+8hjIQ7yowp29V4rgl+ 9s5myJ4Lw5JS0xtvUtvsDierk76Fmtku8pHvrUlPcsu7mtXQ8C67WciJ3Bx+sJQe8Ikm 4R7D3aa2cxUeexXRK8ekm16MRccPTmLD79qbU=
2010/10/3 Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>:
> I don't want to comment much on this because we agree that we need
> more documentation or at least better organized documentation. But it
> is wrong to say there is nothing and here are a few links:
>
> http://eigen.tuxfamily.org/index.php?title=Developer's_Corner
> http://eigen.tuxfamily.org/index.php?title=Eigen3_Developer_Documentation
> http://download.tuxfamily.org/eigen/meetings/paris2010/Gael-NewInternals.pdf
True... but we need 20x this amount of developer documentation.
>
> I think we are quite heavily mailing list oriented
(which, by the way, is about to change with the bug-tracker move)
> and some (actually
> many) questions have been answered here multiple times where a Wiki
> page or some docs would have been better - saving us from repeating it
> all over...
That's true! We need to develop a habit of reply to such questions by
creating missing wiki pages.
>
> On Sun, Oct 3, 2010 at 7:04 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>> Eigen wasn't any more commented when Gael joined --- it was just much
>> smaller (1000 LOC), so it was possible for him to grasp the overall
>> design without documentation.
>
> It is similar for me and I dropped in much later and therefore I would
> like to mention one thing which I personally find quite complicated
> and which was introduced at the Paris meeting. Just as an example ...
>
> The problem originates in wanting maximal flexibility and having
> minimal overhead for the introduction of new classes and algorithms.
> The example is the class DenseStorageBase and there are others like
> that. A part of the (already deprecated) class hierarchy can be found
> in the last document I linked to above. It appears as if
> DenseStorageBase were inheriting from multiple base classes though
> this is not the case but it is rather the case that its base class is
> depending on the derived class. This is an odd pattern and one of the
> things which increased the entry level difficulty.
I see what you mean, I agree we need to explain this coding pattern
(metaprogrammed inheritance relations)
Benoit
>
> Personally, I spent many hours investigating the code and in the
> beginning it was at least easy to deduce the base classes but even
> that is now tricky but doable once you know what to look at.
>
> I think some good starting points where we need more docs are:
> - the base classes (even in code) and how they are chosen
> - classes such as CWiseBinaryOp et al. because they are the foundation
> of many simple, low-level math algorithms
>
> Regards,
> Hauke
>
>
>