Matrix< P_numtype, BZ_TEMPLATE_DEFAULT > Class Template Reference

#include <matrix.h>

Inheritance diagram for Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >:

Inheritance graph
[legend]
Collaboration diagram for Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >:

Collaboration graph
[legend]
List of all members.

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
class Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >


Public Types

typedef P_numtype T_numtype
typedef P_structure T_structure
typedef Matrix< P_numtype,
P_structure > 
T_matrix

Public Member Functions

 Matrix ()
 Matrix (int rows, int cols, T_structure structure=T_structure())
unsigned cols () const
unsigned columns () const
void makeUnique () const
unsigned numElements () const
void reference (T_matrix &)
void resize (unsigned rows, unsigned cols)
unsigned rows () const
_bz_MatrixRef< T_numtype,
T_structure > 
_bz_getRef () const
T_numtype operator() (unsigned i, unsigned j) const
T_numtype &restrict operator() (unsigned i, unsigned j)
T_matrix & operator= (T_numtype)
T_matrix & operator+= (T_numtype)
T_matrix & operator-= (T_numtype)
T_matrix & operator *= (T_numtype)
T_matrix & operator/= (T_numtype)
template<typename P_numtype2, typename P_structure2>
T_matrix & operator= (const Matrix< P_numtype2, P_structure2 > &)
template<typename P_numtype2, typename P_structure2>
T_matrix & operator+= (const Matrix< P_numtype2, P_structure2 > &)
template<typename P_numtype2, typename P_structure2>
T_matrix & operator-= (const Matrix< P_numtype2, P_structure2 > &)
template<typename P_numtype2, typename P_structure2>
T_matrix & operator *= (const Matrix< P_numtype2, P_structure2 > &)
template<typename P_numtype2, typename P_structure2>
T_matrix & operator/= (const Matrix< P_numtype2, P_structure2 > &)
template<typename P_expr>
T_matrix & operator= (_bz_MatExpr< P_expr >)
T_matrix & operator++ ()
void operator++ (int)
T_matrix & operator-- ()
void operator-- (int)

Private Types

typedef MemoryBlockReference<
P_numtype > 
T_base

Private Attributes

T_structure structure_
T_type *restrict data_

Member Typedef Documentation

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
typedef MemoryBlockReference<P_numtype> Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::T_base [private]
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
typedef Matrix<P_numtype, P_structure> Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::T_matrix
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
typedef P_numtype Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::T_numtype
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
typedef P_structure Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::T_structure
 


Constructor & Destructor Documentation

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::Matrix (   )  [inline]
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::Matrix (  int  rows,
int  cols,
T_structure  structure = T_structure()
)  [inline]
 


Member Function Documentation

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
_bz_MatrixRef<T_numtype, T_structure> Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::_bz_getRef (   )  const [inline]
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
unsigned Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::cols (   )  const [inline]
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
unsigned Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::columns (   )  const [inline]
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
void Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::makeUnique (   )  const
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
unsigned Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::numElements (   )  const [inline]
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
template<typename P_numtype2, typename P_structure2>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator *= (  const Matrix< P_numtype2, P_structure2 > &   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator *= (  T_numtype   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_numtype& restrict Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator() (  unsigned  i,
unsigned  j
)  [inline]
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_numtype Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator() (  unsigned  i,
unsigned  j
)  const [inline]
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
void Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator++ (  int   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator++ (   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
template<typename P_numtype2, typename P_structure2>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator+= (  const Matrix< P_numtype2, P_structure2 > &   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator+= (  T_numtype   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
void Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator-- (  int   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator-- (   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
template<typename P_numtype2, typename P_structure2>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator-= (  const Matrix< P_numtype2, P_structure2 > &   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator-= (  T_numtype   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
template<typename P_numtype2, typename P_structure2>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator/= (  const Matrix< P_numtype2, P_structure2 > &   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator/= (  T_numtype   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
template<typename P_expr>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator= (  _bz_MatExpr< P_expr >   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
template<typename P_numtype2, typename P_structure2>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator= (  const Matrix< P_numtype2, P_structure2 > &   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator= (  T_numtype   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
void Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::reference (  T_matrix &   ) 
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
void Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::resize (  unsigned  rows,
unsigned  cols
)  [inline]
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
unsigned Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::rows (   )  const [inline]
 


Member Data Documentation

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_type* restrict MemoryBlockReference< P_numtype >::data_ [private]
 

template<typename P_numtype, typename P_structure BZ_TEMPLATE_DEFAULT>
T_structure Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::structure_ [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Oct 22 10:05:13 2007 for blitz by  doxygen 1.3.9.1