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

mat::CArrayMatrixAdapter< T, Array > Class Template Reference

#include <matrixadapter.h>

Collaboration diagram for mat::CArrayMatrixAdapter< T, Array >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T, class Array>
class mat::CArrayMatrixAdapter< T, Array >

Wraps up a C array as a no-frills matrix; wrap this with a MatrixAdapter for more features.

Definition at line 148 of file matrixadapter.h.

Public Types

typedef size_t size_type
typedef T value_type

Public Methods

 CArrayMatrixAdapter (const Array &x, const size_type nrows, const size_type ncols)
value_type operator() (const size_type row, const size_type col) const
size_type nrows () const
 Number of rows in the virtual matrix.

size_type ncols () const
 Number of columns in the virtual matrix.


Protected Attributes

const Array & a
const size_type height
const size_type width


The documentation for this class was generated from the following file:
Generated on Mon Jan 20 02:37:36 2003 for RF-LISSOM by doxygen1.3-rc2