Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Hammer::MultiDimensional::IContainer Class Referenceabstract

#include <IContainer.hh>

+ Inheritance diagram for Hammer::MultiDimensional::IContainer:

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
 
IContaineroperator= (const IContainer &)=default
 
IContaineroperator= (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 IContaineroperator*= (double value)=0
 
virtual IContaineroperator*= (const ElementType value)=0
 
virtual IContainerconjugate ()=0
 
virtual SerialType write (flatbuffers::FlatBufferBuilder *msgwriter) const =0
 

Detailed Description

Definition at line 24 of file IContainer.hh.

Member Typedef Documentation

Definition at line 34 of file IContainer.hh.

using Hammer::MultiDimensional::IContainer::SerialType = std::pair<flatbuffers::Offset<void>, Serial::FBTensorTypes>

Definition at line 68 of file IContainer.hh.

Constructor & Destructor Documentation

virtual Hammer::MultiDimensional::IContainer::~IContainer ( )
inlinevirtual

Definition at line 27 of file IContainer.hh.

Hammer::MultiDimensional::IContainer::IContainer ( )
inline

Definition at line 28 of file IContainer.hh.

Hammer::MultiDimensional::IContainer::IContainer ( const IContainer )
default
Hammer::MultiDimensional::IContainer::IContainer ( IContainer &&  )
default

Member Function Documentation

virtual bool Hammer::MultiDimensional::IContainer::canAddAt ( const IContainer subContainer,
IndexLabel  coord,
IndexType  position 
) const
pure virtual
virtual bool Hammer::MultiDimensional::IContainer::compare ( const IContainer other) const
pure virtual
virtual size_t Hammer::MultiDimensional::IContainer::dataSize ( ) const
pure virtual
virtual reference Hammer::MultiDimensional::IContainer::element ( const IndexList coords = {})
pure virtual
virtual ElementType Hammer::MultiDimensional::IContainer::element ( const IndexList coords = {}) const
pure virtual
virtual reference Hammer::MultiDimensional::IContainer::element ( IndexList::const_iterator  start,
IndexList::const_iterator  end 
)
pure virtual
virtual ElementType Hammer::MultiDimensional::IContainer::element ( IndexList::const_iterator  start,
IndexList::const_iterator  end 
) const
pure virtual
virtual size_t Hammer::MultiDimensional::IContainer::entrySize ( ) const
pure virtual
virtual IndexPairList Hammer::MultiDimensional::IContainer::getSameLabelPairs ( const IContainer other,
const UniqueLabelsList indices 
) const
pure virtual
virtual bool Hammer::MultiDimensional::IContainer::isSameShape ( const IContainer other) const
pure virtual
virtual size_t Hammer::MultiDimensional::IContainer::numValues ( ) const
pure virtual
virtual IContainer& Hammer::MultiDimensional::IContainer::operator*= ( double  value)
pure virtual
IContainer& Hammer::MultiDimensional::IContainer::operator= ( const IContainer )
default
IContainer& Hammer::MultiDimensional::IContainer::operator= ( IContainer &&  )
default
virtual size_t Hammer::MultiDimensional::IContainer::rank ( ) const
pure virtual
virtual SerialType Hammer::MultiDimensional::IContainer::write ( flatbuffers::FlatBufferBuilder *  msgwriter) const
pure virtual

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