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>

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 -- Generated on 19 May 2009 by Doxygen 1.5.5 -- Copyright 2007 by the Trustees of Indiana University.