Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

matrix.h File Reference

Wrapper for matrix classes to make it simpler to switch between different underlying implementations. More...

#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:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  mat
namespace  mtl
namespace  TNT

Compounds

struct  MatrixType

Defines

#define num_cols   ncols
 Hack to substitute MTL's spelling of the dimension size functions. More...

#define num_rows   nrows
#define SubMatrixType   const_Region
 Type of a submatrix or region. More...

#define Index(i)    (i+1)
 Wrapper for a matrix index. More...

#define UpperBound(i)    (i)
 Wrapper for the upper bound of a range. More...

#define MSEQ(container)    (container).begin(),(container).end()
 Iterator pair for a matrix; works for any normal container. More...

#define CMSEQ(container)    (container).begin(),(container).end()
 Iterator pair for a constant matrix; works for any normal container. More...


Detailed Description

Wrapper for matrix classes to make it simpler to switch between different underlying implementations.

Header:
/u/nn/cvsroot/lissom/src/matrix.h,v 1.6 2000/08/18 05:01:53 jbednar Exp

Definition in file matrix.h.


Define Documentation

#define CMSEQ( container )   (container).begin(),(container).end()
 

Iterator pair for a constant matrix; works for any normal container.

Definition at line 83 of file matrix.h.

Referenced by mat::sum().

#define Index( i )   (i+1)
 

Wrapper for a matrix index.

Appropriate for TNT's 1-based operator() (blame Fortran)

Definition at line 64 of file matrix.h.

Referenced by mat::elem(), and mat::submatrix().

#define MSEQ( container )   (container).begin(),(container).end()
 

Iterator pair for a matrix; works for any normal container.

Definition at line 81 of file matrix.h.

Referenced by Retina::activate(), and FixedWtRegion::activate().

#define SubMatrixType   const_Region
 

Type of a submatrix or region.

Definition at line 62 of file matrix.h.

#define USE_TNT_MATRIX
 

Definition at line 21 of file matrix.h.

#define UpperBound( i )   (i)
 

Wrapper for the upper bound of a range.

TNT's is inclusive.

Definition at line 66 of file matrix.h.

Referenced by mat::submatrix().

#define num_cols   ncols
 

Hack to substitute MTL's spelling of the dimension size functions.

Definition at line 31 of file matrix.h.

#define num_rows   nrows
 

Definition at line 32 of file matrix.h.


Generated at Mon Aug 21 00:31:07 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000