From 8fb1678f0f174e85f6550e14f349841e406c8f53 Mon Sep 17 00:00:00 2001 From: Daniel Gomez Ferro Date: Tue, 2 Sep 2008 15:28:49 +0000 Subject: Extended sparse unit-test: nested blocks and InnerIterators. Block specialization for sparse matrices. InnerIterators for Blocks and fixes in CoreIterators. --- Eigen/src/Core/Block.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Eigen/src/Core/Block.h') diff --git a/Eigen/src/Core/Block.h b/Eigen/src/Core/Block.h index 11583d042..18fcdbb2b 100644 --- a/Eigen/src/Core/Block.h +++ b/Eigen/src/Core/Block.h @@ -65,6 +65,8 @@ template > { typedef typename MatrixType::Scalar Scalar; + typedef typename MatrixType::Nested MatrixTypeNested; + typedef typename ei_unref::type _MatrixTypeNested; enum{ RowsAtCompileTime = MatrixType::RowsAtCompileTime == 1 ? 1 : BlockRows, ColsAtCompileTime = MatrixType::ColsAtCompileTime == 1 ? 1 : BlockCols, @@ -94,6 +96,8 @@ template _EIGEN_GENERIC_PUBLIC_INTERFACE(Block, MapBase) + class InnerIterator; typedef typename ei_traits::AlignedDerivedType AlignedDerivedType; EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block) -- cgit v1.2.3