diff options
author | 2008-09-09 09:30:23 +0000 | |
---|---|---|
committer | 2008-09-09 09:30:23 +0000 | |
commit | 703539110b5c26f01ac37fe6114afdbb5c3c6c99 (patch) | |
tree | 16be3c0fbdab00bcfa895799f1f73b5015afb30a /Eigen/src/Core/MatrixBase.h | |
parent | c41ceee7508965a9f571e6b67f3e396943c6376c (diff) |
add the missing templated version of block for sub-vectors
Diffstat (limited to 'Eigen/src/Core/MatrixBase.h')
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index a9d15032c..81aae3593 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -381,6 +381,9 @@ template<typename Derived> class MatrixBase template<int Size> typename BlockReturnType<Derived,Size>::SubVectorType end(); template<int Size> const typename BlockReturnType<Derived,Size>::SubVectorType end() const; + template<int Size> typename BlockReturnType<Derived,Size>::SubVectorType block(int start); + template<int Size> const typename BlockReturnType<Derived,Size>::SubVectorType block(int start) const; + DiagonalCoeffs<Derived> diagonal(); const DiagonalCoeffs<Derived> diagonal() const; |