#include <CTBmatrixDsc.hxx>
Inheritance diagram for CTBmatrixDsc:
Public Methods | |
CTBmatrixDsc () | |
CTBmatrixDsc (T *p_data, CTBint i_nrow, CTBint i_ncol) | |
CTBmatrixDsc (T *p_data, CTBint i_nrow, CTBint i_ncol, CTBint i_strrow, CTBint i_strcol=1) | |
CTBmatrixDsc (T *p_data, CTBint i_ncol, const CTBrange &rrow, const CTBrange &rcol) | |
T * | Data () const |
CTBvectorDsc< T > | Row (CTBint i_row) const |
CTBvectorDsc< T > | Column (CTBint i_col) const |
CTBvectorDsc< T > | Diagonal () const |
CTBvectorDsc< T > | operator[] (CTBint i_row) const |
T & | operator() (CTBint i_row, CTBint i_col) const |
const CTBmatrixDsc< T > & | operator= (const T &rhs) const |
const CTBmatrixDsc< T > & | operator= (const CTBmatrixDsc< T > &rhs) const |
const CTBmatrixDsc< T > & | operator= (const CTBmatrixCDsc< T > &rhs) const |
Definition at line 66 of file CTBmatrixDsc.hxx.
|
Construct descriptor for empty (size=0) matrix.
Definition at line 294 of file CTBmatrixDsc.icc. |
|
Construct descriptor from data pointer and dimensions. A compact matrix at p_data with i_nrow rows and i_ncol columns in normal C storage order is assumed. The row stride is thus set to i_ncol and the column stride to 1.
The value of p_data and a Definition at line 312 of file CTBmatrixDsc.icc. |
|
Construct descriptor from data pointer, dimensions and strides. This allows to represent a non-compact matrix in any storage order. p_data points to element (0,0), while p_data[i_strrow] refers to element (1,0) and p_data[i_strcol] to element (0,1).
The value of p_data and a Definition at line 330 of file CTBmatrixDsc.icc. |
|
Construct descriptor from data pointer, number of columns and ranges.
Definition at line 339 of file CTBmatrixDsc.icc. |
|
Returns pointer to first element of matrix.
Reimplemented from CTBmatrixCDsc. Definition at line 349 of file CTBmatrixDsc.icc. |
|
Access row (index checked if CTB__IndexCheck defined).
Reimplemented from CTBmatrixCDsc. Definition at line 358 of file CTBmatrixDsc.icc. |
|
Access column (index checked if CTB__IndexCheck defined).
Reimplemented from CTBmatrixCDsc. Definition at line 370 of file CTBmatrixDsc.icc. |
|
Access diagonal.
Reimplemented from CTBmatrixCDsc. Definition at line 382 of file CTBmatrixDsc.icc. |
|
Access row (index checked if CTB__IndexCheck defined).
Reimplemented from CTBmatrixCDsc. Definition at line 391 of file CTBmatrixDsc.icc. |
|
Access element (index checked if CTB__IndexCheck defined).
Reimplemented from CTBmatrixCDsc. Definition at line 403 of file CTBmatrixDsc.icc. |
|
Set all elements to the scalar value rhs.
Definition at line 416 of file CTBmatrixDsc.icc. Referenced by operator=().
|
|
Copy elements rhs (conformity checked if CTB__ConformityCheck).
Definition at line 442 of file CTBmatrixDsc.icc. |
|
Copy elements rhs (conformity checked if CTB__ConformityCheck).
Definition at line 452 of file CTBmatrixDsc.icc. |