#include <matrix.h>
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_ |
typedef MemoryBlockReference<P_numtype> Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::T_base [private] |
typedef P_numtype Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::T_numtype |
typedef P_structure Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::T_structure |
typedef Matrix<P_numtype, P_structure> Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::T_matrix |
Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::Matrix | ( | ) | [inline] |
Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::Matrix | ( | int | rows, | |
int | cols, | |||
T_structure | structure = T_structure() | |||
) | [inline] |
References MemoryBlockReference< P_type >::newBlock().
unsigned Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::cols | ( | ) | const [inline] |
unsigned Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::columns | ( | ) | const [inline] |
void Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::makeUnique | ( | ) | const |
unsigned Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::numElements | ( | ) | const [inline] |
void Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::reference | ( | T_matrix & | ) |
void Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::resize | ( | unsigned | rows, | |
unsigned | cols | |||
) | [inline] |
References MemoryBlockReference< P_type >::newBlock().
unsigned Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::rows | ( | ) | const [inline] |
_bz_MatrixRef<T_numtype, T_structure> Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::_bz_getRef | ( | ) | const [inline] |
T_numtype Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator() | ( | unsigned | i, | |
unsigned | j | |||
) | const [inline] |
T_numtype& restrict Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator() | ( | unsigned | i, | |
unsigned | j | |||
) | [inline] |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator= | ( | T_numtype | ) |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator+= | ( | T_numtype | ) |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator-= | ( | T_numtype | ) |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator*= | ( | T_numtype | ) |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator/= | ( | T_numtype | ) |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator= | ( | const Matrix< P_numtype2, P_structure2 > & | ) | [inline] |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator+= | ( | const Matrix< P_numtype2, P_structure2 > & | ) | [inline] |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator-= | ( | const Matrix< P_numtype2, P_structure2 > & | ) | [inline] |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator*= | ( | const Matrix< P_numtype2, P_structure2 > & | ) | [inline] |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator/= | ( | const Matrix< P_numtype2, P_structure2 > & | ) | [inline] |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator= | ( | _bz_MatExpr< P_expr > | ) | [inline] |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator++ | ( | ) |
void Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator++ | ( | int | ) |
T_matrix& Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator-- | ( | ) |
void Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::operator-- | ( | int | ) |
T_structure Matrix< P_numtype, BZ_TEMPLATE_DEFAULT >::structure_ [private] |