Definition in file matrix.h.
#include <numeric>
#include "tnt/tnt.h"
#include "tnt/cmat.h"
#include "tnt/vec.h"
#include "tnt/region1d.h"
#include "tnt/region2d.h"
Include dependency graph for matrix.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | mat |
| namespace | mtl |
| namespace | TNT |
Compounds | |
| struct | MatrixType |
| Wrapper to disguise the actual type of matrices while allowing the value type to be templated; simple typedefs wouldn't allow that. More... | |
Defines | |
| #define | USE_TNT_MATRIX |
| #define | num_cols ncols |
| Hack to substitute MTL's spelling of the dimension size functions. | |
| #define | num_rows nrows |
| #define | SubMatrixType const_Region |
| Type of a submatrix or region. | |
| #define | MatIndex(i) (i+1) |
| Wrapper for a matrix index. | |
| #define | UpperBound(i) (i) |
| Wrapper for the upper bound of a range. | |
| #define | MSEQ(container) (container).begin(),(container).end() |
| Iterator pair for a matrix; works for any normal container. | |
| #define | CMSEQ(container) (container).begin(),(container).end() |
| Iterator pair for a constant matrix; works for any normal container. | |
| #define | MBEGIN(container) (container).begin() |
| Begin iterator for a matrix; works for any normal container. | |
| #define | CMBEGIN(container) (container).begin() |
| Begin iterator for a constant matrix; works for any normal container. | |
|
|
Wrapper for a matrix index. Appropriate for TNT's 1-based operator() (blame Fortran) Definition at line 68 of file matrix.h. Referenced by mat::elem(), mat::MatrixAdapter< M, value_type >::operator()(), and mat::submatrix(). |
|
|
Wrapper for the upper bound of a range. TNT's is inclusive. Definition at line 70 of file matrix.h. Referenced by mat::submatrix(). |
1.3-rc2