COPASI API
4.40.278
|
#include <CArray.h>
Public Member Functions | |
CArray () | |
CArray (const index_type &sizes) | |
size_t | dimensionality () const |
virtual data_type & | operator[] (const index_type &index) |
virtual const data_type & | operator[] (const index_type &index) const |
void | resize (const index_type &sizes) |
virtual const index_type & | size () const |
virtual | ~CArray () |
Public Member Functions inherited from CArrayInterface | |
virtual | ~CArrayInterface () |
Private Attributes | |
std::vector< data_type > | mData |
size_t | mDim |
index_type | mFactors |
index_type | mSizes |
Additional Inherited Members | |
Public Types inherited from CArrayInterface | |
typedef C_FLOAT64 | data_type |
typedef std::vector< size_t > | index_type |
this class contains an n-dimensional array
CArray::CArray | ( | ) |
References mData.
CArray::CArray | ( | const index_type & | sizes | ) |
References resize().
|
inlinevirtual |
|
virtual |
|
virtual |
Implements CArrayInterface.
|
virtual |
Implements CArrayInterface.
void CArray::resize | ( | const index_type & | sizes | ) |
References mData, mDim, mFactors, and mSizes.
Referenced by CSensMethod::calculate_one_level(), CArray(), CSensMethod::do_target_calculation(), CSensMethod::initialize(), and CTimeSensMethod::initResult().
|
virtual |
Implements CArrayInterface.
References mSizes.
Referenced by CSensMethod::do_collapsing(), and CSensMethod::do_collapsing_innerloop().
|
private |
Referenced by CArray(), operator[](), and resize().
|
private |
Referenced by dimensionality(), operator[](), and resize().
|
private |
Referenced by operator[](), and resize().
|
private |
Referenced by operator[](), resize(), and size().