Logo MTL4

mtl::IteratableSubMatrix< Tag, ITag, M > Struct Template Reference
[Concepts]

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

#include <matrix.hpp>

Inherits Matrix< M >, TraversableCollection< Tag, M >, and TraversableCollection< ITag, TraversableCollection< Tag, M >::result_type >.

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 7 Apr 2011 by doxygen 1.5.9 -- © 2010 by SimuNova UG.