COPASI API  4.40.278
CArrayInterface Class Referenceabstract

#include <CArray.h>

Inheritance diagram for CArrayInterface:

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_typeoperator[] (const index_type &index) const =0
virtual data_typeoperator[] (const index_type &index)=0
virtual const index_typesize () const =0
virtual ~CArrayInterface ()

Detailed Description

This abstract class defines the interface for an n-dimensional array of floats

Member Typedef Documentation

◆ data_type

◆ index_type

typedef std::vector< size_t > CArrayInterface::index_type

Constructor & Destructor Documentation

◆ ~CArrayInterface()

virtual CArrayInterface::~CArrayInterface ( )

Member Function Documentation

◆ dimensionality()

virtual size_t CArrayInterface::dimensionality ( ) const
pure virtual

◆ operator[]() [1/2]

virtual const data_type& CArrayInterface::operator[] ( const index_type index) const
pure virtual

◆ operator[]() [2/2]

virtual data_type& CArrayInterface::operator[] ( const index_type index)
pure virtual

◆ size()

virtual const index_type& CArrayInterface::size ( ) const
pure virtual

The documentation for this class was generated from the following file: