aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported
diff options
context:
space:
mode:
authorGravatar Chen-Pang He <jdh8@ms63.hinet.net>2012-09-24 23:36:19 +0800
committerGravatar Chen-Pang He <jdh8@ms63.hinet.net>2012-09-24 23:36:19 +0800
commitd387dfa9dcedf474873691f230a9d6b85ec9ef57 (patch)
treec767c03006c07115cbec52bfa661d5d3deca66f9 /unsupported
parent334532b7f56728e425dca64007ff7a3b6857d79f (diff)
Remove unnecessary code. lazyAssign seems to fix all (noalias, initialization, etc.)
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h b/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h
index 28617ff6f..a809609d5 100644
--- a/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h
+++ b/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h
@@ -250,26 +250,11 @@ class MatrixPowerProductBase : public MatrixBase<Derived>
typedef MatrixBase<Derived> Base;
EIGEN_DENSE_PUBLIC_INTERFACE(MatrixPowerProductBase)
- typedef typename Base::PlainObject PlainObject;
-
inline Index rows() const { return derived().rows(); }
inline Index cols() const { return derived().cols(); }
template<typename ResultType>
inline void evalTo(ResultType& res) const { derived().evalTo(res); }
-
- const PlainObject& eval() const
- {
- m_result.resize(rows(), cols());
- derived().evalTo(m_result);
- return m_result;
- }
-
- operator const PlainObject&() const
- { return eval(); }
-
- protected:
- mutable PlainObject m_result;
};
template<typename Derived>