aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-08-12 02:14:02 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-08-12 02:14:02 +0000
commit13ad88736e41cd22d057f67e39ba694be76f7010 (patch)
treed61adf7ab2edd10ae60d113b64dcb20547276265 /Eigen/src/Core
parentf04c1cb774fae209c6d4d060bda15f7389764887 (diff)
last small fixes, this is alpha6, eigen2 is now ready for eigen1 apps to
port to.
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r--Eigen/src/Core/MatrixBase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h
index 2d4c8b08d..c1bb99141 100644
--- a/Eigen/src/Core/MatrixBase.h
+++ b/Eigen/src/Core/MatrixBase.h
@@ -462,6 +462,9 @@ template<typename Derived> class MatrixBase
template<typename NewType>
const CwiseUnaryOp<ei_scalar_cast_op<typename ei_traits<Derived>::Scalar, NewType>, Derived> cast() const;
+ /** \returns the matrix or vector obtained by evaluating this expression.
+ *
+ */
EIGEN_ALWAYS_INLINE const typename ei_eval<Derived>::type eval() const
{
return typename ei_eval<Derived>::type(derived());