This bugzilla service is closed. All entries have been migrated to
Bug 402 - cleanup boiler-plate code in plugins directory
Summary: cleanup boiler-plate code in plugins directory
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: unspecified
Hardware: All All
: Low Internal Design
Assignee: Nobody
Depends on: 833
  Show dependency treegraph
Reported: 2012-01-06 16:51 UTC by abachrach
Modified: 2019-12-04 11:22 UTC (History)
4 users (show)

cleanup code in ArrayCwiseUnaryOps.h (6.53 KB, patch)
2012-01-06 16:53 UTC, abachrach
no flags Details | Diff

Description abachrach 2012-01-06 16:51:34 UTC
There was a whole bunch of repeated code in the ArrayCwiseUnaryOps.h file to define the various unary operations.

I created a macro EIGEN_MAKE_CWISE_UNARY_OP in Macros.h which operates similarly to EIGEN_MAKE_CWISE_BINARY_OP, and then used it.
Comment 1 abachrach 2012-01-06 16:53:09 UTC
Created attachment 244 [details]
cleanup code in ArrayCwiseUnaryOps.h
Comment 2 Christoph Hertzberg 2014-12-01 15:41:48 UTC
There is a lot of boiler plate code in the entire plugins-directory, especially for BlockMethods.h.
We could also auto-generate most typedefs and the doxygen documentation (Bug 833).

Related is bug 728, but I think there is no additional #include level needed in this case.
Comment 3 Nobody 2019-12-04 11:22:27 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:

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