New user self-registration is disabled due to spam. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
Bug 339 - Make headers self-containing
Summary: Make headers self-containing
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: 3.0
Hardware: All All
: --- Unknown
Assignee: Nobody
URL:
Whiteboard:
Keywords:
: 13 (view as bug list)
Depends on:
Blocks: 138 728 269
  Show dependency treegraph
 
Reported: 2011-08-31 10:59 UTC by Christoph Hertzberg
Modified: 2014-03-01 02:58 UTC (History)
4 users (show)



Attachments

Description Christoph Hertzberg 2011-08-31 10:59:54 UTC
I would very much appreciate if Eigen-headers would be self containing, i.e.
* Have each of them declare the appropriate namespaces.
* Make each of them include the necessary dependencies.

Most important advantage for me would be to simplify browsing the code, currently my IDE (eclipse CDT) is (almost) perfectly capable to do syntax completion with Eigen types in my own code, however as soon as I want to look into the internals of a method, I have to do a lot of guessing in which header the actual implementation might be. The other option to find that out would be debugging in O0-mode, however, at some point you can easily get lost there as well.

If at least the namespace declarations could be done globally, I could locally insert the necessary dependencies on a need-to-work basis (this obviously does not work currently, especially not with external libraries).

This would also solve bug 269 at almost no cost.
Comment 1 Christoph Hertzberg 2011-09-26 13:05:13 UTC
Added blocking of bug 138 (at least to force a decision until 3.1)
Comment 2 Jitse Niesen 2012-04-15 13:10:38 UTC
The (easy) first part, to have each header file declare the Eigen namespace, is now done (changeset 0cf501b7d3dd). 

For some reason, doxygen had to be instructed to parse all the .h files so probably there are some changes in the documentation it produces but at a first glance everything still seems to be there.
Comment 3 Jitse Niesen 2012-07-17 19:14:55 UTC
*** Bug 13 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.