copasi API  0.1
Public Types | Public Member Functions | Friends
CLowerTriangularView< Matrix > Class Template Reference

#include <CMatrix.h>

List of all members.

Public Types

typedef Matrix::elementType elementType

Public Member Functions

 CLowerTriangularView (const Matrix &A, const elementType zero)
 ~CLowerTriangularView ()
unsigned C_INT32 numRows () const
unsigned C_INT32 numCols () const
elementType operator() (const unsigned C_INT32 &row, const unsigned C_INT32 &col) const

Friends

std::ostream & operator<< (std::ostream &os, const CLowerTriangularView< Matrix > &A)

template<class Matrix>
class CLowerTriangularView< Matrix >


Member Typedef Documentation

template<class Matrix>
typedef Matrix::elementType CLowerTriangularView< Matrix >::elementType

Constructor & Destructor Documentation

template<class Matrix>
CLowerTriangularView< Matrix >::CLowerTriangularView ( const Matrix &  A,
const elementType  zero 
) [inline]
template<class Matrix>
CLowerTriangularView< Matrix >::~CLowerTriangularView ( ) [inline]

Member Function Documentation

template<class Matrix>
unsigned C_INT32 CLowerTriangularView< Matrix >::numCols ( ) const [inline]

The number of columns of the matrix

Returns:
unsigned C_INT32 cols
template<class Matrix>
unsigned C_INT32 CLowerTriangularView< Matrix >::numRows ( ) const [inline]

The number of rows of the matrix.

Returns:
unsigned C_INT32 rows
template<class Matrix>
elementType CLowerTriangularView< Matrix >::operator() ( const unsigned C_INT32 &  row,
const unsigned C_INT32 &  col 
) const [inline]

Retrieve a matrix element using the indexing style of the matrix.

Parameters:
constunsigned C_INT32 & row
constunsigned C_INT32 & col
Returns:
elementType element

Friends And Related Function Documentation

template<class Matrix>
std::ostream& operator<< ( std::ostream &  os,
const CLowerTriangularView< Matrix > &  A 
) [friend]

Output stream operator

Parameters:
ostream& os
constCLowerTriangularView< Matrix > & A
Returns:
ostream & os

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines