COPASI API
4.40.278
|
#include <CMatrix.h>
Public Types | |
typedef Matrix::elementType | elementType |
Public Member Functions | |
CUnitUpperTriangularView (const Matrix &A, const elementType zero, const elementType unit) | |
size_t | numCols () const |
size_t | numRows () const |
elementType | operator() (const size_t &row, const size_t &col) const |
~CUnitUpperTriangularView () | |
Private Attributes | |
const Matrix & | mA |
elementType | mUnit |
elementType | mZero |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CUnitUpperTriangularView< Matrix > &A) |
typedef Matrix::elementType CUnitUpperTriangularView< Matrix >::elementType |
|
inline |
|
inline |
|
inline |
The number of columns of the matrix
References CUnitUpperTriangularView< Matrix >::mA.
|
inline |
The number of rows of the matrix.
References CUnitUpperTriangularView< Matrix >::mA.
|
inline |
Retrieve a matrix element using the indexing style of the matrix.
const | size_t & row |
const | size_t & col |
References CUnitUpperTriangularView< Matrix >::mA, CUnitUpperTriangularView< Matrix >::mUnit, and CUnitUpperTriangularView< Matrix >::mZero.
|
friend |
Output stream operator
ostream | & os |
const | CUnitUpperTriangularView< Matrix > & A |
|
private |
|
private |
Referenced by CUnitUpperTriangularView< Matrix >::operator()().
|
private |
Referenced by CUnitUpperTriangularView< Matrix >::operator()().