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.
Created attachment 244 [details]
cleanup code in ArrayCwiseUnaryOps.h
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.
-- GitLab Migration Automatic Message --
This bug has been migrated to gitlab.com'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: https://gitlab.com/libeigen/eigen/issues/402.