COPASI API
4.16.103
|
#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) |
Definition at line 203 of file CLinkMatrix.h.
Definition at line 206 of file CLinkMatrix.h.
CLinkMatrixView::CLinkMatrixView | ( | const CLinkMatrix & | A | ) |
Default constructor
const | const CLinkMatrix & A |
const | size_t & mNumIndependent |
Definition at line 589 of file CLinkMatrix.cpp.
References CONSTRUCTOR_TRACE.
CLinkMatrixView::~CLinkMatrixView | ( | ) |
size_t CLinkMatrixView::numCols | ( | ) | const |
The number of columns of the matrix
Definition at line 611 of file CLinkMatrix.cpp.
References mpA, and CMatrix< CType >::numCols().
Referenced by operator<<().
size_t CLinkMatrixView::numRows | ( | ) | const |
The number of rows of the matrix.
Definition at line 606 of file CLinkMatrix.cpp.
References mpA, mpNumIndependent, and CMatrix< CType >::numRows().
Referenced by operator<<().
|
inline |
Retrieve a matrix element using the c-style indexing.
const | size_t & row |
const | size_t & col |
Definition at line 252 of file CLinkMatrix.h.
References C_FLOAT64, mpNumIndependent, mUnit, and mZero.
CLinkMatrixView & CLinkMatrixView::operator= | ( | const CLinkMatrixView & | rhs | ) |
Assignment operator
const | CLinkMatrixView & rhs |
Definition at line 598 of file CLinkMatrix.cpp.
References mpA, and mpNumIndependent.
|
friend |
Output stream operator
ostream | & os |
const | CLinkMatrixView & A |
Definition at line 616 of file CLinkMatrix.cpp.
|
private |
Definition at line 209 of file CLinkMatrix.h.
Referenced by numCols(), numRows(), and operator=().
|
private |
Definition at line 210 of file CLinkMatrix.h.
Referenced by numRows(), operator()(), and operator=().
|
staticprivate |
Definition at line 212 of file CLinkMatrix.h.
Referenced by operator()().
|
staticprivate |
Definition at line 211 of file CLinkMatrix.h.
Referenced by operator()().