|
COPASI API
4.40.278
|
#include <CArray.h>
Public Types | |
| typedef C_FLOAT64 | data_type |
| typedef std::vector< size_t > | index_type |
Public Member Functions | |
| virtual size_t | dimensionality () const =0 |
| virtual const data_type & | operator[] (const index_type &index) const =0 |
| virtual data_type & | operator[] (const index_type &index)=0 |
| virtual const index_type & | size () const =0 |
| virtual | ~CArrayInterface () |
This abstract class defines the interface for an n-dimensional array of floats
| typedef C_FLOAT64 CArrayInterface::data_type |
| typedef std::vector< size_t > CArrayInterface::index_type |
|
inlinevirtual |
|
pure virtual |
Implemented in CVectorInterface< VectorType >, CMatrixInterface< MatrixType >, CMatrixInterface< CMatrix< C_FLOAT64 > >, and CArray.
Referenced by CDataArray::resize().
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in CVectorInterface< VectorType >, CMatrixInterface< MatrixType >, CMatrixInterface< CMatrix< C_FLOAT64 > >, and CArray.
Referenced by CDataArray::resizeOneDimension(), and CDataArray::size().