Move part() to EIGEN2_SUPPORT (had been deprecated for a long time)

This commit is contained in:
Benoit Jacob
2011-01-23 18:49:36 -05:00
parent 1cf4996d3c
commit 5c82fd7f40
2 changed files with 6 additions and 2 deletions

View File

@@ -242,8 +242,10 @@ template<typename Derived> class MatrixBase
typename MatrixBase::template DiagonalIndexReturnType<Dynamic>::Type diagonal(Index index);
typename MatrixBase::template ConstDiagonalIndexReturnType<Dynamic>::Type diagonal(Index index) const;
#ifdef EIGEN2_SUPPORT
template<unsigned int Mode> TriangularView<Derived, Mode> part();
template<unsigned int Mode> const TriangularView<Derived, Mode> part() const;
#endif
template<unsigned int Mode> struct TriangularViewReturnType { typedef TriangularView<Derived, Mode> Type; };
template<unsigned int Mode> struct ConstTriangularViewReturnType { typedef const TriangularView<const Derived, Mode> Type; };