#include <CS_MATRIX.hpp>
Collaboration diagram for CS_MATRIX< T >:
Public Member Functions | |
CS_MATRIX (unsigned long int rows, unsigned long int cols, std::string descr) | |
The only valid constructor. | |
unsigned long int | cols () const |
Returns the size of the array. | |
unsigned long int | rows () const |
Returns the size of the array. | |
T & | operator() (unsigned long int i, unsigned long int j) |
Matrix accessor. | |
T & | access (unsigned long int i, unsigned long int j) |
Matrix access, function version. | |
const T & | const_access (unsigned long int i, unsigned long int j) const |
Const matrix access version. | |
Static Public Member Functions | |
std::string | fDim (const CS_MATRIX &obj) |
Gets the dimension of a given data matrix. | |
Public Attributes | |
std::string | _descr |
Description of the current variable. | |
Protected Attributes | |
T ** | _matrix |
Contains the actual data. | |
unsigned long int | _cols |
column size. | |
unsigned long int | _rows |
row size. |
|
Gets the dimension of a given data matrix.
|