MTL 4: mtl::matrix::recursator< Matrix > Struct Template Reference
#include <matrix_recursator.hpp>
Public Member Functions | |
recursator (Matrix const &matrix, size_type bound=0) | |
sub_matrix_type | operator* () const |
Compute the sub-matrix corresponding to this recursator. | |
size_type | bound () const |
Return the bound of the recursator. | |
void | set_bound (size_type b) |
Protected Attributes | |
size_type | my_bound |
Referred matrix (from which the sub-matrices are built). | |
size_type | my_first_row |
Virtual matrix size, i.e. upper bound for size of sub-matrix. | |
size_type | my_first_col |
Row of first entry in submatrix. |
How to use this class is described in the recursion introduction.
mtl::matrix::recursator< Matrix >::recursator | ( | Matrix const & | matrix, | |
size_type | bound = 0 | |||
) | [inline, explicit] |
Construct a recursator from a matrix.
matrix | The matrix to which the recursator refers. | |
bound | Explicit bound declaration; must not be smaller than the numbers of rows and the number of columns; must also be a power of 2. |
void mtl::matrix::recursator< Matrix >::set_bound | ( | size_type | b | ) | [inline] |
Set the bound of the recursator.
bound | The new virtual bound; must be a power of 2. |
mtl::matrix::recursator< Matrix > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine
-- Generated on 24 Aug 2009 by Doxygen 1.5.9 -- Copyright 2008-09 by TU Dresden and the Trustees of Indiana University.