last small fixes, this is alpha6, eigen2 is now ready for eigen1 apps to

port to.
This commit is contained in:
Benoit Jacob
2008-08-12 02:14:02 +00:00
parent f04c1cb774
commit 13ad88736e
10 changed files with 33 additions and 19 deletions

View File

@@ -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());