CIMPL::SubMatrix< T > Class Template Reference

A 2-D slice of a Matrix. Does not contain its own data. Needs to be referenced to a Matrix. More...

#include <SubMatrix.h>

List of all members.

Public Member Functions

 SubMatrix (void)
 SubMatrix (SubMatrix< T > &sm)
 ~SubMatrix (void)
const int Columns () const
const int Rows () const
const int XDim () const
const int YDim () const
SubMatrix< T > & operator= (SubMatrix< T > &sm)
SubMatrix< T > & operator= (Matrix< T > &m)
T & operator() (const int i, const int j)
Vector< T > & operator[] (const int i)

Protected Attributes

Vector< T > * columns
Cleaner< T > * clean
int xDim
int yDim

Friends

class Matrix<T>
class Vector<T>


Detailed Description

template<class T>
class CIMPL::SubMatrix< T >

A 2-D slice of a Matrix. Does not contain its own data. Needs to be referenced to a Matrix.

Definition at line 83 of file SubMatrix.h.


Constructor & Destructor Documentation

template<class T>
CIMPL::SubMatrix< T >::SubMatrix void   ) 
 

Definition at line 63 of file SubMatrix.inl.

template<class T>
CIMPL::SubMatrix< T >::SubMatrix SubMatrix< T > &  sm  ) 
 

Definition at line 73 of file SubMatrix.inl.

template<class T>
CIMPL::SubMatrix< T >::~SubMatrix void   ) 
 

Definition at line 87 of file SubMatrix.inl.


Member Function Documentation

template<class T>
const int CIMPL::SubMatrix< T >::Columns  )  const [inline]
 

Definition at line 106 of file SubMatrix.inl.

template<class T>
T & CIMPL::SubMatrix< T >::operator() const int  i,
const int  j
[inline]
 

Definition at line 174 of file SubMatrix.inl.

template<class T>
SubMatrix< T > & CIMPL::SubMatrix< T >::operator= Matrix< T > &  m  ) 
 

Definition at line 152 of file SubMatrix.inl.

template<class T>
SubMatrix< T > & CIMPL::SubMatrix< T >::operator= SubMatrix< T > &  sm  ) 
 

Definition at line 133 of file SubMatrix.inl.

template<class T>
Vector< T > & CIMPL::SubMatrix< T >::operator[] const int  i  )  [inline]
 

Definition at line 187 of file SubMatrix.inl.

template<class T>
const int CIMPL::SubMatrix< T >::Rows  )  const [inline]
 

Definition at line 112 of file SubMatrix.inl.

template<class T>
const int CIMPL::SubMatrix< T >::XDim  )  const [inline]
 

Definition at line 119 of file SubMatrix.inl.

template<class T>
const int CIMPL::SubMatrix< T >::YDim  )  const [inline]
 

Definition at line 125 of file SubMatrix.inl.


Friends And Related Function Documentation

template<class T>
friend class Matrix<T> [friend]
 

Definition at line 85 of file SubMatrix.h.

template<class T>
friend class Vector<T> [friend]
 

Definition at line 86 of file SubMatrix.h.


Member Data Documentation

template<class T>
Cleaner<T>* CIMPL::SubMatrix< T >::clean [protected]
 

Definition at line 90 of file SubMatrix.h.

template<class T>
Vector<T>* CIMPL::SubMatrix< T >::columns [protected]
 

Definition at line 89 of file SubMatrix.h.

template<class T>
int CIMPL::SubMatrix< T >::xDim [protected]
 

Definition at line 91 of file SubMatrix.h.

template<class T>
int CIMPL::SubMatrix< T >::yDim [protected]
 

Definition at line 92 of file SubMatrix.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 20 08:43:52 2005 for CIMPL by  doxygen 1.3.9.1