Hammer
1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
|
#include <ISingleContainer.hh>
Classes | |
class | ItBase |
Public Types | |
using | NonZeroIt = std::unique_ptr< ItBase > |
Public Types inherited from Hammer::MultiDimensional::IContainer | |
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 | ~ISingleContainer () |
ISingleContainer () | |
ISingleContainer (const ISingleContainer &)=default | |
ISingleContainer (ISingleContainer &&)=default | |
ISingleContainer & | operator= (const ISingleContainer &)=default |
ISingleContainer & | operator= (ISingleContainer &&)=default |
virtual NonZeroIt | firstNonZero () const =0 |
virtual NonZeroIt | endNonZero () const =0 |
Public Member Functions inherited from Hammer::MultiDimensional::IContainer | |
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 22 of file ISingleContainer.hh.
using Hammer::MultiDimensional::ISingleContainer::NonZeroIt = std::unique_ptr<ItBase> |
Definition at line 43 of file ISingleContainer.hh.
|
inlinevirtual |
Definition at line 25 of file ISingleContainer.hh.
|
inline |
Definition at line 26 of file ISingleContainer.hh.
|
default |
|
default |
|
pure virtual |
Implemented in Hammer::MultiDimensional::SparseContainer, and Hammer::MultiDimensional::VectorContainer.
|
pure virtual |
Implemented in Hammer::MultiDimensional::SparseContainer, and Hammer::MultiDimensional::VectorContainer.
|
default |
|
default |