|
YAP
|
Class for managing a complex cached value inside a #DataPoint. More...
#include <CachedValue.h>
Public Member Functions | |
| void | setValue (const std::complex< double > &val, DataPoint &d, unsigned sym_index, StatusManager &sm) const |
| void | setValue (double val_re, double val_im, DataPoint &d, unsigned sym_index, StatusManager &sm) const |
| void | setValue (const std::complex< double > &val, DataPoint &d, unsigned sym_index) const |
| void | setValue (double val_re, double val_im, DataPoint &d, unsigned sym_index) const |
| const std::complex< double > | value (const DataPoint &d, unsigned sym_index) const |
Public Member Functions inherited from CachedValue | |
| DataAccessor * | owner () const |
| const int | index () const |
| const double | value (unsigned index, const DataPoint &d, unsigned sym_index) const |
| virtual const unsigned | size () const |
| void | setValue (unsigned index, double val, DataPoint &d, unsigned sym_index) const |
Static Public Member Functions | |
| static std::shared_ptr < ComplexCachedValue > | create (DataAccessor &da) |
Private Member Functions | |
| ComplexCachedValue (DataAccessor &da) | |
Additional Inherited Members | |
Protected Member Functions inherited from CachedValue | |
| CachedValue (unsigned size, DataAccessor &da) | |
| void | addToDataAccessor () |
| add to the Owner_ | |
| void | setIndex (int i) |
| set index | |
| void | setPosition (int p) |
| set position | |
Class for managing a complex cached value inside a #DataPoint.
|
inlineprivate |
Constructor (protected) see create for details
|
static |
create shared pointer to ComplexCachedValue
| owner | DataAccessor to which this cached value belongs |
|
inline |
Set value into #DataPoint for particular symmetrization, and update VariableStatus for symm. and partition index
| val | Value to set to |
| d | #DataPoint to update |
| sym_index | index of symmetrization to apply to |
| sm | StatusManager |
| void setValue | ( | double | val_re, |
| double | val_im, | ||
| DataPoint & | d, | ||
| unsigned | sym_index, | ||
| StatusManager & | sm | ||
| ) | const |
Set value into #DataPoint for particular symmetrization, and update VariableStatus for symm. and partition index
| val_re | real part of value to set to |
| val_im | imaginary part of value to set to |
| d | #DataPoint to update |
| sym_index | index of symmetrization to apply to |
| sm | StatusManager |
|
inline |
Set value into #DataPoint for particular symmetrization; does not update any statuses
| val | Value to set to |
| d | #DataPoint to update |
| sym_index | index of symmetrization to apply to |
|
inline |
Set value into #DataPoint for particular symmetrization does not update any statuses
| val_re | real part of value to set to |
| val_im | imaginary part of value to set to |
| d | #DataPoint to update |
| sym_index | index of symmetrization to apply to |
|
inline |
Get value from #DataPoint for particular symmetrization
| d | #DataPoint to get value from |
| sym_index | index of symmetrization to grab from |
1.8.6