Matrix< P_numtype, P_structure > Class Template Reference

#include <matrix.h>

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

List of all members.

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_numtypeoperator() (unsigned i, unsigned j)
T_matrixoperator= (T_numtype)
T_matrixoperator+= (T_numtype)
T_matrixoperator-= (T_numtype)
T_matrixoperator*= (T_numtype)
T_matrixoperator/= (T_numtype)
template<typename P_numtype2 , typename P_structure2 >
T_matrixoperator= (const Matrix< P_numtype2, P_structure2 > &)
template<typename P_numtype2 , typename P_structure2 >
T_matrixoperator+= (const Matrix< P_numtype2, P_structure2 > &)
template<typename P_numtype2 , typename P_structure2 >
T_matrixoperator-= (const Matrix< P_numtype2, P_structure2 > &)
template<typename P_numtype2 , typename P_structure2 >
T_matrixoperator*= (const Matrix< P_numtype2, P_structure2 > &)
template<typename P_numtype2 , typename P_structure2 >
T_matrixoperator/= (const Matrix< P_numtype2, P_structure2 > &)
template<typename P_expr >
T_matrixoperator= (_bz_MatExpr< P_expr >)
T_matrixoperator++ ()
void operator++ (int)
T_matrixoperator-- ()
void operator-- (int)

Private Types

typedef MemoryBlockReference
< P_numtype > 
T_base

Private Attributes

T_structure structure_

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


Member Typedef Documentation

template<typename P_numtype , typename P_structure>
typedef MemoryBlockReference<P_numtype> Matrix< P_numtype, P_structure >::T_base [private]
template<typename P_numtype , typename P_structure>
typedef Matrix<P_numtype, P_structure> Matrix< P_numtype, P_structure >::T_matrix
template<typename P_numtype , typename P_structure>
typedef P_numtype Matrix< P_numtype, P_structure >::T_numtype
template<typename P_numtype , typename P_structure>
typedef P_structure Matrix< P_numtype, P_structure >::T_structure

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename P_numtype , typename P_structure>
_bz_MatrixRef<T_numtype, T_structure> Matrix< P_numtype, P_structure >::_bz_getRef (  )  const [inline]
template<typename P_numtype , typename P_structure>
unsigned Matrix< P_numtype, P_structure >::cols (  )  const [inline]
template<typename P_numtype , typename P_structure>
unsigned Matrix< P_numtype, P_structure >::columns (  )  const [inline]
template<typename P_numtype , typename P_structure>
void Matrix< P_numtype, P_structure >::makeUnique (  )  const
template<typename P_numtype , typename P_structure>
unsigned Matrix< P_numtype, P_structure >::numElements (  )  const [inline]
template<typename P_numtype , typename P_structure>
T_numtype& Matrix< P_numtype, P_structure >::operator() ( unsigned  i,
unsigned  j 
) [inline]
template<typename P_numtype , typename P_structure>
T_numtype Matrix< P_numtype, P_structure >::operator() ( unsigned  i,
unsigned  j 
) const [inline]
template<typename P_numtype , typename P_structure>
template<typename P_numtype2 , typename P_structure2 >
T_matrix& Matrix< P_numtype, P_structure >::operator*= ( const Matrix< P_numtype2, P_structure2 > &   )  [inline]
template<typename P_numtype , typename P_structure>
T_matrix& Matrix< P_numtype, P_structure >::operator*= ( T_numtype   ) 
template<typename P_numtype , typename P_structure>
void Matrix< P_numtype, P_structure >::operator++ ( int   ) 
template<typename P_numtype , typename P_structure>
T_matrix& Matrix< P_numtype, P_structure >::operator++ (  ) 
template<typename P_numtype , typename P_structure>
template<typename P_numtype2 , typename P_structure2 >
T_matrix& Matrix< P_numtype, P_structure >::operator+= ( const Matrix< P_numtype2, P_structure2 > &   )  [inline]
template<typename P_numtype , typename P_structure>
T_matrix& Matrix< P_numtype, P_structure >::operator+= ( T_numtype   ) 
template<typename P_numtype , typename P_structure>
void Matrix< P_numtype, P_structure >::operator-- ( int   ) 
template<typename P_numtype , typename P_structure>
T_matrix& Matrix< P_numtype, P_structure >::operator-- (  ) 
template<typename P_numtype , typename P_structure>
template<typename P_numtype2 , typename P_structure2 >
T_matrix& Matrix< P_numtype, P_structure >::operator-= ( const Matrix< P_numtype2, P_structure2 > &   )  [inline]
template<typename P_numtype , typename P_structure>
T_matrix& Matrix< P_numtype, P_structure >::operator-= ( T_numtype   ) 
template<typename P_numtype , typename P_structure>
template<typename P_numtype2 , typename P_structure2 >
T_matrix& Matrix< P_numtype, P_structure >::operator/= ( const Matrix< P_numtype2, P_structure2 > &   )  [inline]
template<typename P_numtype , typename P_structure>
T_matrix& Matrix< P_numtype, P_structure >::operator/= ( T_numtype   ) 
template<typename P_numtype , typename P_structure>
template<typename P_expr >
T_matrix& Matrix< P_numtype, P_structure >::operator= ( _bz_MatExpr< P_expr >   )  [inline]
template<typename P_numtype , typename P_structure>
template<typename P_numtype2 , typename P_structure2 >
T_matrix& Matrix< P_numtype, P_structure >::operator= ( const Matrix< P_numtype2, P_structure2 > &   )  [inline]

Reimplemented from MemoryBlockReference< P_numtype >.

template<typename P_numtype , typename P_structure>
T_matrix& Matrix< P_numtype, P_structure >::operator= ( T_numtype   ) 
template<typename P_numtype , typename P_structure>
void Matrix< P_numtype, P_structure >::reference ( T_matrix  ) 
template<typename P_numtype , typename P_structure>
void Matrix< P_numtype, P_structure >::resize ( unsigned  rows,
unsigned  cols 
) [inline]
template<typename P_numtype , typename P_structure>
unsigned Matrix< P_numtype, P_structure >::rows (  )  const [inline]

Member Data Documentation

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

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Sep 22 14:14:04 2009 for blitz by  doxygen 1.6.1