Introduce a generic InnerIterator classes compatible with evaluators.

This commit is contained in:
Gael Guennebaud
2014-09-29 13:36:57 +02:00
parent 76c3cf6949
commit abd3502e9e
5 changed files with 123 additions and 42 deletions

View File

@@ -468,6 +468,16 @@ struct SelfAdjointShape { static std::string debugName() { return "SelfAdj
struct PermutationShape { static std::string debugName() { return "PermutationShape"; } };
struct SparseShape { static std::string debugName() { return "SparseShape"; } };
namespace internal {
// random access iterators based on coeff*() accessors.
struct IndexBased {};
// evaluator based on iterators to access coefficients.
struct IteratorBased {};
} // end namespace internal
} // end namespace Eigen
#endif // EIGEN_CONSTANTS_H