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

#include <CMatrix.h>

List of all members.

Public Types

typedef Matrix::elementType elementType

Public Member Functions

 CFortranAccess (Matrix &A)
 ~CFortranAccess ()
elementTypeoperator[] (unsigned C_INT32 row)
const elementTypeoperator[] (unsigned C_INT32 row) const
elementTypeoperator() (const unsigned C_INT32 &row, const unsigned C_INT32 &col)
const elementTypeoperator() (const unsigned C_INT32 &row, const unsigned C_INT32 &col) const

template<class Matrix>
class CFortranAccess< Matrix >


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class Matrix >
CFortranAccess< Matrix >::CFortranAccess ( Matrix &  A) [inline]
template<class Matrix >
CFortranAccess< Matrix >::~CFortranAccess ( ) [inline]

Member Function Documentation

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

Retrieve a matrix element using Fortran style indexing.

Parameters:
constunsigned C_INT32 & row
constunsigned C_INT32 & col
Returns:
const elementType & element
template<class Matrix >
const elementType& CFortranAccess< Matrix >::operator() ( const unsigned C_INT32 &  row,
const unsigned C_INT32 &  col 
) const [inline]

Retrieve a matrix element using Fortran style indexing.

Parameters:
constunsigned C_INT32 & row
constunsigned C_INT32 & col
Returns:
const elementType & element
template<class Matrix >
elementType* CFortranAccess< Matrix >::operator[] ( unsigned C_INT32  row) [inline]

Retrieve a row of the matrix using Fortran style indexing.

Parameters:
unsignedC_INT32 row
Returns:
elementType * row
template<class Matrix >
const elementType* CFortranAccess< Matrix >::operator[] ( unsigned C_INT32  row) const [inline]

Retrieve a row of the matrix using Fortran style indexing.

Parameters:
unsignedC_INT32 row
Returns:
const elementType * row

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