Functions | |
static unsigned int | Tmatrix< T >::_digits (unsigned int n) |
Returns the number of digits of an unsigned int value. More... | |
T *& | Tmatrix< T >::_pval (const unsigned int ie) |
Returns a pointer to actual value at position ie. More... | |
void | Tmatrix< T >::_reset () |
Resets the entries in vector _data. More... | |
T & | Tmatrix< T >::_val (const unsigned int ir, const unsigned int ic) |
Returns a reference to actual value at position ie. More... | |
const T & | Tmatrix< T >::_val (const unsigned int ir, const unsigned int ic) const |
T & | Tmatrix< T >::_val (const unsigned int ie) |
const T & | Tmatrix< T >::_val (const unsigned int ie) const |
T * | Tmatrix< T >::array () const |
Converts a matrix into array form (columnwise storage) More... | |
void | Tmatrix< T >::array (const T *pM) |
Sets the elements of a matrix from an array (columnwise storage) More... | |
Tmatrix< T > & | Tmatrix< T >::col (const unsigned int ic) |
Sets/retrieves value of column ic. More... | |
unsigned int | Tmatrix< T >::col () const |
Retrieves number of columns. More... | |
unsigned int | Tmatrix< T >::getDim () const |
unsigned int | Tmatrix< T >::getNumCols () const |
unsigned int | Tmatrix< T >::getNumRows () const |
T & | Tmatrix< T >::operator() (const unsigned int ir, const unsigned int ic) |
const T & | Tmatrix< T >::operator() (const unsigned int ir, const unsigned int ic) const |
T & | Tmatrix< T >::operator() (const unsigned int ie) |
const T & | Tmatrix< T >::operator() (const unsigned int ie) const |
template<typename U > | |
Tmatrix< T > & | Tmatrix< T >::operator*= (const Tmatrix< U > &M) |
template<typename U > | |
Tmatrix< T > & | Tmatrix< T >::operator*= (const U &m) |
template<typename U > | |
Tmatrix< T > & | Tmatrix< T >::operator+= (const Tmatrix< U > &M) |
template<typename U > | |
Tmatrix< T > & | Tmatrix< T >::operator+= (const U &m) |
template<typename U > | |
Tmatrix< T > & | Tmatrix< T >::operator-= (const Tmatrix< U > &M) |
template<typename U > | |
Tmatrix< T > & | Tmatrix< T >::operator-= (const U &m) |
template<typename U > | |
Tmatrix< T > & | Tmatrix< T >::operator/= (const U &m) |
Tmatrix< T > & | Tmatrix< T >::operator= (const Tmatrix< T > &M) |
Tmatrix< T > & | Tmatrix< T >::operator= (const T &m) |
T *& | Tmatrix< T >::pval (const unsigned int ir, const unsigned int ic) |
Sets/retrieves pointer to entry (ir,ic) More... | |
void | Tmatrix< T >::resize (const unsigned int nr, const unsigned int nc=1, const bool alloc=true) |
Resets the dimension of a Tmatrix objects. More... | |
Tmatrix< T > & | Tmatrix< T >::row (const unsigned int ir) |
Sets/retrieves value of row ir. More... | |
unsigned int | Tmatrix< T >::row () const |
Retrieves number of rows. More... | |
Tmatrix< unsigned int > | Tmatrix< T >::sort () |
Other operators. More... | |
Tmatrix< T >::Tmatrix () | |
Default constructor. More... | |
Tmatrix< T >::Tmatrix (const unsigned int nr, const unsigned int nc=1, const bool alloc=true) | |
Constructor doing size assignment. More... | |
template<typename U > | |
Tmatrix< T >::Tmatrix (const unsigned int nr, const unsigned int nc, const U &v, const bool alloc=true) | |
Constructor doing size assignment and element initialization. More... | |
Tmatrix< T >::Tmatrix (const Tmatrix< T > &M) | |
Copy Constructor. More... | |
template<typename U > | |
Tmatrix< T >::Tmatrix (const Tmatrix< U > &M) | |
Copy Constructor doing type conversion. More... | |
Tmatrix< T >::~Tmatrix () | |
Destructor. More... | |
Variables | |
std::vector< T * > | Tmatrix< T >::_data |
Vector of pointers to elements (column-wise storage) More... | |
unsigned int | Tmatrix< T >::_nc |
Number of columns. More... | |
unsigned int | Tmatrix< T >::_nr |
Number of rows. More... | |
Tmatrix< T > * | Tmatrix< T >::_pblock |
Pointer to Tmatrix<T> container storing blocks. More... | |
Tmatrix< T > * | Tmatrix< T >::_pcol |
Pointer to Tmatrix<T> container storing column. More... | |
Tmatrix< T > * | Tmatrix< T >::_prow |
Pointer to Tmatrix<T> container storing row. More... | |
bool | Tmatrix< T >::_sub |
Flag indicating whether the current object is a submatrix. More... | |
Returns the number of digits of an unsigned int value.
Definition at line 609 of file t_matrix.hpp.
Returns a pointer to actual value at position ie.
Definition at line 323 of file t_matrix.hpp.
Resets the entries in vector _data.
Definition at line 330 of file t_matrix.hpp.
|
inlineprivate |
Returns a reference to actual value at position ie.
Definition at line 286 of file t_matrix.hpp.
|
inlineprivate |
Definition at line 293 of file t_matrix.hpp.
Definition at line 300 of file t_matrix.hpp.
Definition at line 308 of file t_matrix.hpp.
Converts a matrix into array form (columnwise storage)
Definition at line 588 of file t_matrix.hpp.
Sets the elements of a matrix from an array (columnwise storage)
Definition at line 599 of file t_matrix.hpp.
Sets/retrieves value of column ic.
Definition at line 338 of file t_matrix.hpp.
Retrieves number of columns.
Definition at line 173 of file t_matrix.hpp.
Definition at line 184 of file t_matrix.hpp.
Definition at line 186 of file t_matrix.hpp.
Definition at line 185 of file t_matrix.hpp.
|
inline |
Definition at line 258 of file t_matrix.hpp.
|
inline |
Definition at line 265 of file t_matrix.hpp.
Definition at line 272 of file t_matrix.hpp.
Definition at line 279 of file t_matrix.hpp.
|
inline |
Definition at line 436 of file t_matrix.hpp.
|
inline |
Definition at line 453 of file t_matrix.hpp.
|
inline |
Definition at line 398 of file t_matrix.hpp.
|
inline |
Definition at line 408 of file t_matrix.hpp.
|
inline |
Definition at line 417 of file t_matrix.hpp.
|
inline |
Definition at line 427 of file t_matrix.hpp.
|
inline |
Definition at line 462 of file t_matrix.hpp.
Definition at line 376 of file t_matrix.hpp.
Definition at line 388 of file t_matrix.hpp.
|
inline |
Sets/retrieves pointer to entry (ir,ic)
Definition at line 316 of file t_matrix.hpp.
|
inline |
Resets the dimension of a Tmatrix objects.
Definition at line 149 of file t_matrix.hpp.
Sets/retrieves value of row ir.
Definition at line 357 of file t_matrix.hpp.
Retrieves number of rows.
Definition at line 176 of file t_matrix.hpp.
Default constructor.
Definition at line 90 of file t_matrix.hpp.
|
inline |
Constructor doing size assignment.
Definition at line 95 of file t_matrix.hpp.
|
inline |
Constructor doing size assignment and element initialization.
Definition at line 106 of file t_matrix.hpp.
Copy Constructor.
Definition at line 118 of file t_matrix.hpp.
Copy Constructor doing type conversion.
Definition at line 129 of file t_matrix.hpp.
Destructor.
Definition at line 139 of file t_matrix.hpp.
Vector of pointers to elements (column-wise storage)
Definition at line 225 of file t_matrix.hpp.
Number of columns.
Definition at line 223 of file t_matrix.hpp.
Number of rows.
Definition at line 221 of file t_matrix.hpp.
Pointer to Tmatrix<T> container storing blocks.
Definition at line 233 of file t_matrix.hpp.
Pointer to Tmatrix<T> container storing column.
Definition at line 229 of file t_matrix.hpp.
Pointer to Tmatrix<T> container storing row.
Definition at line 231 of file t_matrix.hpp.
Flag indicating whether the current object is a submatrix.
Definition at line 227 of file t_matrix.hpp.