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::Ops::Dot Class Referencefinal

#include <Dot.hh>

+ Collaboration diagram for Hammer::MultiDimensional::Ops::Dot:

Public Member Functions

 Dot (const IndexPairList &indices, std::pair< bool, bool > shouldHC={false, false})
 
IContaineroperator() (VectorContainer &first, const VectorContainer &second)
 
IContaineroperator() (SparseContainer &first, const SparseContainer &second)
 
IContaineroperator() (SparseContainer &first, const VectorContainer &second)
 
IContaineroperator() (OuterContainer &first, const OuterContainer &second)
 
IContaineroperator() (OuterContainer &first, const SparseContainer &second)
 
IContaineroperator() (SparseContainer &first, const OuterContainer &second)
 
IContaineroperator() (OuterContainer &first, const IContainer &second)
 
IContaineroperator() (IContainer &first, const IContainer &second)
 
IContainererror (IContainer &, const IContainer &)
 
DotGroupList partitionContractions (const BlockIndexing &lhs, const BlockIndexing &rhs) const
 
DotGroupList partitionContractions (const LabeledIndexing< AlignedIndexing > &lhs, const BlockIndexing &rhs) const
 
DotGroupList partitionContractions (const BlockIndexing &lhs, const LabeledIndexing< AlignedIndexing > &rhs) const
 

Public Attributes

IndexPairList _indices
 
std::pair< bool, bool > _hc
 
UniqueIndexList _idxLeft
 
UniqueIndexList _idxRight
 

Private Member Functions

std::pair< IndexList, LabelsListgetNewIndexLabels (const IContainer &first, const IContainer &second) const
 
std::pair< IndexList, LabelsListgetNewIndexLabels (const BlockIndexing &lhs, const BlockIndexing &rhs, const DotGroupType &chunk) const
 
std::pair< IndexList, LabelsListgetNewIndexLabels (const LabeledIndexing< AlignedIndexing > &lhs, const BlockIndexing &rhs, const DotGroupType &chunk) const
 
std::pair< IndexList, LabelsListgetNewIndexLabels (const BlockIndexing &lhs, const LabeledIndexing< AlignedIndexing > &rhs, const DotGroupType &chunk) const
 
IndexList combineIndex (const IndexList &a, const IndexList &b) const
 
SharedTensorData calcSharedDot (SharedTensorData origin, const IContainer &other, const IndexPairList &indices, std::pair< bool, bool > shouldHC={false, false})
 
unsigned long long dotSignature (const IContainer &a, const IContainer &b, const std::string &type) const
 

Detailed Description

Definition at line 30 of file Dot.hh.

Constructor & Destructor Documentation

Hammer::MultiDimensional::Ops::Dot::Dot ( const IndexPairList indices,
std::pair< bool, bool >  shouldHC = {false, false} 
)

Definition at line 49 of file Dot.cc.

Member Function Documentation

SharedTensorData Hammer::MultiDimensional::Ops::Dot::calcSharedDot ( SharedTensorData  origin,
const IContainer other,
const IndexPairList indices,
std::pair< bool, bool >  shouldHC = {false, false} 
)
private

Definition at line 862 of file Dot.cc.

IndexList Hammer::MultiDimensional::Ops::Dot::combineIndex ( const IndexList a,
const IndexList b 
) const
private

Definition at line 830 of file Dot.cc.

unsigned long long Hammer::MultiDimensional::Ops::Dot::dotSignature ( const IContainer a,
const IContainer b,
const std::string &  type 
) const
private
Todo:
IMPLEMENT

Definition at line 868 of file Dot.cc.

Base * Hammer::MultiDimensional::Ops::Dot::error ( IContainer ,
const IContainer  
)

Definition at line 826 of file Dot.cc.

pair< IndexList, LabelsList > Hammer::MultiDimensional::Ops::Dot::getNewIndexLabels ( const IContainer first,
const IContainer second 
) const
private

Definition at line 843 of file Dot.cc.

pair< IndexList, LabelsList > Hammer::MultiDimensional::Ops::Dot::getNewIndexLabels ( const BlockIndexing lhs,
const BlockIndexing rhs,
const DotGroupType chunk 
) const
private

Definition at line 967 of file Dot.cc.

pair< IndexList, LabelsList > Hammer::MultiDimensional::Ops::Dot::getNewIndexLabels ( const LabeledIndexing< AlignedIndexing > &  lhs,
const BlockIndexing rhs,
const DotGroupType chunk 
) const
private

Definition at line 1043 of file Dot.cc.

pair< IndexList, LabelsList > Hammer::MultiDimensional::Ops::Dot::getNewIndexLabels ( const BlockIndexing lhs,
const LabeledIndexing< AlignedIndexing > &  rhs,
const DotGroupType chunk 
) const
private

Definition at line 1076 of file Dot.cc.

Base * Hammer::MultiDimensional::Ops::Dot::operator() ( VectorContainer first,
const VectorContainer second 
)

Definition at line 59 of file Dot.cc.

Base * Hammer::MultiDimensional::Ops::Dot::operator() ( SparseContainer first,
const SparseContainer second 
)

Definition at line 95 of file Dot.cc.

Base * Hammer::MultiDimensional::Ops::Dot::operator() ( SparseContainer first,
const VectorContainer second 
)

Definition at line 137 of file Dot.cc.

Base * Hammer::MultiDimensional::Ops::Dot::operator() ( OuterContainer first,
const OuterContainer second 
)

Definition at line 220 of file Dot.cc.

Base * Hammer::MultiDimensional::Ops::Dot::operator() ( OuterContainer first,
const SparseContainer second 
)

Definition at line 420 of file Dot.cc.

Base * Hammer::MultiDimensional::Ops::Dot::operator() ( SparseContainer first,
const OuterContainer second 
)

Definition at line 612 of file Dot.cc.

Base * Hammer::MultiDimensional::Ops::Dot::operator() ( OuterContainer first,
const IContainer second 
)

Definition at line 521 of file Dot.cc.

Base * Hammer::MultiDimensional::Ops::Dot::operator() ( IContainer first,
const IContainer second 
)

Definition at line 767 of file Dot.cc.

DotGroupList Hammer::MultiDimensional::Ops::Dot::partitionContractions ( const BlockIndexing lhs,
const BlockIndexing rhs 
) const

Definition at line 897 of file Dot.cc.

DotGroupList Hammer::MultiDimensional::Ops::Dot::partitionContractions ( const LabeledIndexing< AlignedIndexing > &  lhs,
const BlockIndexing rhs 
) const

Definition at line 1002 of file Dot.cc.

DotGroupList Hammer::MultiDimensional::Ops::Dot::partitionContractions ( const BlockIndexing lhs,
const LabeledIndexing< AlignedIndexing > &  rhs 
) const

Definition at line 1022 of file Dot.cc.

Member Data Documentation

std::pair<bool, bool> Hammer::MultiDimensional::Ops::Dot::_hc

Definition at line 73 of file Dot.hh.

UniqueIndexList Hammer::MultiDimensional::Ops::Dot::_idxLeft

Definition at line 74 of file Dot.hh.

UniqueIndexList Hammer::MultiDimensional::Ops::Dot::_idxRight

Definition at line 75 of file Dot.hh.

IndexPairList Hammer::MultiDimensional::Ops::Dot::_indices

Definition at line 72 of file Dot.hh.


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