YAP
|
Class for holding data and cached values per data point for fast calculation. More...
#include <DataPoint.h>
Public Member Functions | |
DataPoint (const DataAccessorSet &dataAccessorSet) | |
size_t | nDataAccessors () const |
size_t | nSymIndices (unsigned i) const |
size_t | nElements (unsigned i, unsigned j=0) const |
unsigned | bytes () const |
Private Attributes | |
std::vector< std::vector < std::vector< double > > > | Data_ |
Friends | |
class | CachedValue |
grant friend status to CachedValue to access Data_ | |
bool | equalStructure (const DataPoint &A, const DataPoint &B) |
check that two DataPoint's have same internal structure | |
bool | operator== (const DataPoint &lhs, const DataPoint &rhs) |
check that two DataPoint's are equal | |
Class for holding data and cached values per data point for fast calculation.
DataPoint | ( | const DataAccessorSet & | dataAccessorSet | ) |
unsigned bytes | ( | ) | const |
|
inline |
|
inline |
i | index of DataAccessor |
j | index of symmetrization |
|
inline |
i | index of DataAccessor |
|
private |
Data storage for all DataAccessors first index is for the DataAccessor second index is for the symmeterization state (as known by the DataAccessor) third index is internal to the DataAccessor