Documentation of CSL
Public Member Functions | Friends
csl::ContractionChain Class Reference

Public Member Functions

 ContractionChain (csl::vector_expr &t_contractedTensors, std::vector< IndexStructure > &t_structures, std::vector< std::array< int, 4 >> &t_contraction)
 
 ContractionChain (const csl::vector_expr &args, const Expr &res=CSL_UNDEF)
 
 ContractionChain (const Expr &expr, const Expr &res=CSL_UNDEF)
 
 ContractionChain (const ContractionChain &other)=default
 
ContractionChainoperator= (const ContractionChain &other)=default
 
std::optional< ContractionChainsplitAndEvaluate () const
 
bool contains (const Expr &tensor) const
 
Expr getResult () const
 
std::optional< std::vector< int > > comparison (const ContractionChain &other, Expr &remnant) const
 
bool operator== (const ContractionChain &other) const
 
bool operator< (ContractionChain const &other) const
 

Friends

std::ostream & operator<< (std::ostream &fout, const ContractionChain &c)
 

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