mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-10 18:59:01 +08:00
add EIGEN_CWISE_PLUGIN support for extending class Cwise
This commit is contained in:
parent
ec0b2f900c
commit
e8e1084267
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user