COPASI API
4.40.278
|
#include <CLinkMatrix.h>
Public Types | |
typedef C_FLOAT64 | elementType |
Public Member Functions | |
CLinkMatrixView (const CLinkMatrix &A) | |
size_t | numCols () const |
size_t | numRows () const |
C_FLOAT64 & | operator() (const size_t &row, const size_t &col) const |
CLinkMatrixView & | operator= (const CLinkMatrixView &rhs) |
~CLinkMatrixView () | |
Private Attributes | |
const CLinkMatrix * | mpA |
const size_t * | mpNumIndependent |
Static Private Attributes | |
static const C_FLOAT64 | mUnit = 1.0 |
static const C_FLOAT64 | mZero = 0.0 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CLinkMatrixView &A) |
CLinkMatrixView::CLinkMatrixView | ( | const CLinkMatrix & | A | ) |
Default constructor
const | const CLinkMatrix & A |
const | size_t & mNumIndependent |
References CONSTRUCTOR_TRACE.
CLinkMatrixView::~CLinkMatrixView | ( | ) |
Destructor.
References DESTRUCTOR_TRACE.
size_t CLinkMatrixView::numCols | ( | ) | const |
The number of columns of the matrix
References mpA, and CMatrix< CType >::numCols().
size_t CLinkMatrixView::numRows | ( | ) | const |
The number of rows of the matrix.
References mpA, mpNumIndependent, and CMatrix< CType >::numRows().
|
inline |
Retrieve a matrix element using the c-style indexing.
const | size_t & row |
const | size_t & col |
References C_FLOAT64, mpNumIndependent, mUnit, and mZero.
CLinkMatrixView & CLinkMatrixView::operator= | ( | const CLinkMatrixView & | rhs | ) |
Assignment operator
const | CLinkMatrixView & rhs |
References mpA, and mpNumIndependent.
|
friend |
|
private |
Referenced by numCols(), numRows(), and operator=().
|
private |
Referenced by numRows(), operator()(), and operator=().
|
staticprivate |
Referenced by operator()().
|
staticprivate |
Referenced by operator()().