Essentia
2.1-beta6-dev
|
#include <tnt_cmat.h>
Public Types | |
typedef Subscript | size_type |
typedef T | value_type |
typedef T | element_type |
typedef T * | pointer |
typedef T * | iterator |
typedef T & | reference |
typedef const T * | const_iterator |
typedef const T & | const_reference |
Public Member Functions | |
Subscript | lbound () const |
operator T** () | |
operator T** () const | |
Subscript | size () const |
Matrix () | |
Matrix (const Matrix< T > &A) | |
Matrix (Subscript M, Subscript N, const T &value=T()) | |
Matrix (Subscript M, Subscript N, const T *v) | |
Matrix (Subscript M, Subscript N, const char *s) | |
~Matrix () | |
Matrix< T > & | newsize (Subscript M, Subscript N) |
Matrix< T > & | operator= (const Matrix< T > &A) |
Matrix< T > & | operator= (const T &scalar) |
Subscript | dim (Subscript d) const |
Subscript | num_rows () const |
Subscript | num_cols () const |
T * | operator[] (Subscript i) |
const T * | operator[] (Subscript i) const |
reference | operator() (Subscript i) |
const_reference | operator() (Subscript i) const |
reference | operator() (Subscript i, Subscript j) |
const_reference | operator() (Subscript i, Subscript j) const |
Protected Member Functions | |
void | initialize (Subscript M, Subscript N) |
void | copy (const T *v) |
void | set (const T &val) |
void | destroy () |
Protected Attributes | |
Subscript | m_ |
Subscript | n_ |
Subscript | mn_ |
T * | v_ |
T ** | row_ |
T * | vm1_ |
T ** | rowm1_ |
typedef const T* const_iterator |
typedef const T& const_reference |
typedef T element_type |
typedef T* iterator |
typedef T* pointer |
typedef T& reference |
typedef T value_type |
|
inline |
References Matrix< T >::copy(), Matrix< T >::initialize(), Matrix< T >::m_, Matrix< T >::n_, and Matrix< T >::v_.
References Matrix< T >::initialize(), and Matrix< T >::set().
References Matrix< T >::copy(), and Matrix< T >::initialize().
References Matrix< T >::initialize(), and Matrix< T >::row_.
|
inline |
References Matrix< T >::destroy().
|
inlineprotected |
References Matrix< T >::m_, Matrix< T >::n_, and Matrix< T >::v_.
Referenced by Matrix< T >::Matrix(), and Matrix< T >::operator=().
|
inlineprotected |
References NULL, Matrix< T >::row_, Matrix< T >::rowm1_, and Matrix< T >::v_.
Referenced by Matrix< T >::newsize(), Matrix< T >::operator=(), and Matrix< T >::~Matrix().
References Matrix< T >::m_, and Matrix< T >::n_.
References Matrix< T >::m_, Matrix< T >::mn_, Matrix< T >::n_, NULL, Matrix< T >::row_, Matrix< T >::rowm1_, Matrix< T >::v_, and Matrix< T >::vm1_.
Referenced by Matrix< T >::Matrix(), Matrix< T >::newsize(), and Matrix< T >::operator=().
|
inline |
References Matrix< T >::destroy(), Matrix< T >::initialize(), Matrix< T >::num_cols(), and Matrix< T >::num_rows().
Referenced by TNT::matmult(), and TNT::operator>>().
|
inline |
References Matrix< T >::n_.
Referenced by TNT::matmult(), TNT::mult_element(), Matrix< T >::newsize(), TNT::operator+(), TNT::operator-(), TNT::operator<<(), TNT::operator>>(), and TNT::transpose().
|
inline |
References Matrix< T >::m_.
Referenced by TNT::matmult(), TNT::mult_element(), Matrix< T >::newsize(), TNT::operator+(), TNT::operator-(), TNT::operator<<(), TNT::operator>>(), and TNT::transpose().
|
inline |
References Matrix< T >::row_.
|
inline |
References Matrix< T >::row_.
References Matrix< T >::mn_, and Matrix< T >::vm1_.
|
inline |
References Matrix< T >::mn_, and Matrix< T >::vm1_.
References Matrix< T >::m_, Matrix< T >::n_, and Matrix< T >::rowm1_.
|
inline |
References Matrix< T >::m_, Matrix< T >::n_, and Matrix< T >::rowm1_.
|
inline |
References Matrix< T >::set().
|
inline |
References Matrix< T >::m_, and Matrix< T >::row_.
|
inline |
References Matrix< T >::m_, and Matrix< T >::row_.
|
inlineprotected |
References Matrix< T >::m_, Matrix< T >::n_, and Matrix< T >::v_.
Referenced by Matrix< T >::Matrix(), and Matrix< T >::operator=().
|
inline |
References Matrix< T >::mn_.
|
protected |
|
protected |
Referenced by Matrix< T >::initialize(), Matrix< T >::operator()(), and Matrix< T >::size().
|
protected |
|
protected |
|
protected |
Referenced by Matrix< T >::destroy(), Matrix< T >::initialize(), and Matrix< T >::operator()().
|
protected |
|
protected |
Referenced by Matrix< T >::initialize(), and Matrix< T >::operator()().