cleanup boiler-plate code in plugins directory
Submitted by aba..@..il.com
Assigned to Nobody
Link to original bugzilla bug (#402)
Description
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.