diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-07-07 16:55:51 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-07-07 16:55:51 +0200 |
commit | 5ed6ce90d3d626e86127961f0845570223ac9c0b (patch) | |
tree | 61b005e40183e9b67ed6cc9825aa4363af10d8f0 /Eigen/src/Core/CwiseUnaryOp.h | |
parent | ea23f36c7843854cfcfc3fbfec4b65c935e56456 (diff) |
started to catch scalar multiple and conjugate xpr in Product
Diffstat (limited to 'Eigen/src/Core/CwiseUnaryOp.h')
-rw-r--r-- | Eigen/src/Core/CwiseUnaryOp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Eigen/src/Core/CwiseUnaryOp.h b/Eigen/src/Core/CwiseUnaryOp.h index a36a629db..0095a1572 100644 --- a/Eigen/src/Core/CwiseUnaryOp.h +++ b/Eigen/src/Core/CwiseUnaryOp.h @@ -92,6 +92,12 @@ class CwiseUnaryOp : ei_no_assignment_operator, return m_functor.packetOp(m_matrix.template packet<LoadMode>(index)); } + /** \internal used for introspection */ + const UnaryOp& _functor() const { return m_functor; } + + /** \internal used for introspection */ + const typename MatrixType::Nested& _expression() const { return m_matrix; } + protected: const typename MatrixType::Nested m_matrix; const UnaryOp m_functor; |