Hammer
1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
|
#include <IContainer.hh>
Public Types | |
using | ElementType = std::complex< double > |
using | reference = ElementType & |
using | const_reference = const ElementType & |
using | SerialType = std::pair< flatbuffers::Offset< void >, Serial::FBTensorTypes > |
Public Member Functions | |
virtual | ~IContainer () |
IContainer () | |
IContainer (const IContainer &)=default | |
IContainer (IContainer &&)=default | |
IContainer & | operator= (const IContainer &)=default |
IContainer & | operator= (IContainer &&)=default |
virtual size_t | rank () const =0 |
virtual IndexList | dims () const =0 |
virtual LabelsList | labels () const =0 |
virtual size_t | numValues () const =0 |
virtual size_t | dataSize () const =0 |
virtual size_t | entrySize () const =0 |
virtual IndexType | labelToIndex (IndexLabel label) const =0 |
virtual IndexPairList | getSameLabelPairs (const IContainer &other, const UniqueLabelsList &indices) const =0 |
virtual IndexPairList | getSpinLabelPairs () const =0 |
virtual bool | isSameShape (const IContainer &other) const =0 |
virtual bool | canAddAt (const IContainer &subContainer, IndexLabel coord, IndexType position) const =0 |
virtual reference | element (const IndexList &coords={})=0 |
virtual ElementType | element (const IndexList &coords={}) const =0 |
virtual reference | element (IndexList::const_iterator start, IndexList::const_iterator end)=0 |
virtual ElementType | element (IndexList::const_iterator start, IndexList::const_iterator end) const =0 |
virtual bool | compare (const IContainer &other) const =0 |
virtual TensorData | clone () const =0 |
virtual void | clear ()=0 |
virtual IContainer & | operator*= (double value)=0 |
virtual IContainer & | operator*= (const ElementType value)=0 |
virtual IContainer & | conjugate ()=0 |
virtual SerialType | write (flatbuffers::FlatBufferBuilder *msgwriter) const =0 |
Definition at line 24 of file IContainer.hh.
using Hammer::MultiDimensional::IContainer::const_reference = const ElementType& |
Definition at line 36 of file IContainer.hh.
using Hammer::MultiDimensional::IContainer::ElementType = std::complex<double> |
Definition at line 34 of file IContainer.hh.
Definition at line 35 of file IContainer.hh.
using Hammer::MultiDimensional::IContainer::SerialType = std::pair<flatbuffers::Offset<void>, Serial::FBTensorTypes> |
Definition at line 68 of file IContainer.hh.
|
inlinevirtual |
Definition at line 27 of file IContainer.hh.
|
inline |
Definition at line 28 of file IContainer.hh.
|
default |
|
default |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
default |
|
default |
|
pure virtual |
|
pure virtual |