add EIGEN_CWISE_PLUGIN support for extending class Cwise

This commit is contained in:
Benoit Jacob 2009-01-13 15:31:06 +00:00
parent ec0b2f900c
commit e8e1084267

View File

@ -171,6 +171,11 @@ template<typename ExpressionType> class Cwise
const EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(std::not_equal_to) const EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(std::not_equal_to)
operator!=(Scalar s) const; operator!=(Scalar s) const;
// allow to extend Cwise outside Eigen
#ifdef EIGEN_CWISE_PLUGIN
#include EIGEN_CWISE_PLUGIN
#endif
protected: protected:
ExpressionTypeNested m_matrix; ExpressionTypeNested m_matrix;
}; };