Logo MTL4
mtl::IteratableSubMatrix< Tag, ITag, M > Struct Template Reference

Concept IteratableSubMatrix: provides iteration over elements within rows or columns of matrices. More...

#include <matrix.hpp>

Inheritance diagram for mtl::IteratableSubMatrix< Tag, ITag, M >:
Inheritance graph
[legend]
Collaboration diagram for mtl::IteratableSubMatrix< Tag, ITag, M >:
Collaboration graph
[legend]

List of all members.


Detailed Description

template<typename Tag, typename ITag, typename M>
struct mtl::IteratableSubMatrix< Tag, ITag, M >

Concept IteratableSubMatrix: provides iteration over elements within rows or columns of matrices.

This concepts actually combines four sub-concepts. The iteration can be either performed over all elements or only over structural non-zero elements whereby the iterator can be a const-iterator or a mutable iterator. These four combinations are specified by the tags mtl::tag::iter::all, mtl::tag::iter::nz, mtl::tag::const_iter::all, and mtl::tag::const_iter::nz for ITag. The template parameter Tag can be mtl::tag::major or mtl::tag::column. The cursors begin and end are provided.

Refinement of:

The documentation for this struct was generated from the following file:


mtl::IteratableSubMatrix< Tag, ITag, M > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Gen. with rev. 7542 on Sat Aug 11 2012 by doxygen 1.7.6.1 -- © 2010 by SimuNova UG.