Logo MTL4

mtl::AllTraversableMatrix< M > Struct Template Reference
[Concepts]

Concept AllTraversableMatrix: provides traversion over all elements. More...

#include <matrix.hpp>

Inherits Matrix< M >, TraversableCollection< Tag, M >, TraversableCollection< mtl::tag::all, TraversableCollection< Tag, M >::result_type >, Matrix< M >, TraversableCollection< mtl::tag::all, M >, Matrix< M >, and TraversableCollection< mtl::tag::all, M >.

Collaboration diagram for mtl::AllTraversableMatrix< M >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<typename M>
struct mtl::AllTraversableMatrix< M >

Concept AllTraversableMatrix: provides traversion over all elements.

Concept AllTraversableSubMatrix: provides traversion of rows, columns of matrices.

Concept NonZeroTraversableMatrix: provides traversion over all structural non-zeros.

All elements of a matrix are traversed, including structural zeros. Can be used, e.g., for printing. The cursors begin and end are provided.

Refinement of:
Note:
  1. For dense matrices the concept is equivalent to NonZeroTraversableMatrix.
All structural non-zero elements of a matrix are traversed. Can be used, e.g., for copying. The cursors begin and end are provided.
Refinement of:
Note:
  1. For dense matrices the concept is equivalent to AllTraversableMatrix.
All elements of a row or a column, according to the Tag, are traversed. The cursors begin and end are provided.
Refinement of:

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


mtl::AllTraversableMatrix< 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.