SyTen
syten::RepRegister::Decomp Namespace Reference

All decomposition-related functions and registers. More...

Classes

struct  RepRepOrdinal
 Struct used as key in decomposition cache. More...
 

Typedefs

typedef std::vector< std::pair< Rep, SparseTensor< 3, CDef > > > RepDecomposition
 The result of a decomposition of two specific reps. More...
 

Functions

void addDecomposition (Rep const &a, Rep const &b, Ordinal const &resultIndex, RepDecomposition const &decomp)
 Adds the decomposition to our register of known decompositions. More...
 
std::pair< bool, RepDecompositiongetDecomposition (Rep const &a, Rep const &b, Ordinal const &resultIndex)
 Checks if we already know about a given decomposition. More...
 
std::tuple< std::vector< DenseTensor< 2, MDef > >, std::vector< DenseTensor< 2, MDef > >, std::vector< DenseTensor< 2, MDef > > > product (Rep const &a, Rep const &b)
 returns the raising, lowering and z operators of the product rep of a and b More...
 
std::vector< std::pair< Rep, SparseTensor< 3, CDef > > > productDecomp (Rep const &a, Rep const &b, Ordinal const &resultIndex=Ordinal::Third)
 Decomposes the product representation and returns a list of pairs of irreps with the associated CGC spaces. More...
 

Variables

static std::unordered_map< RepRepOrdinal, RepDecompositionrepDecompositionData
 Data structure holding known decompositions. More...
 
static std::mutex repDecompositionDataMtx
 Used to protect our data structure containing known decompositions, repDecompositionData. More...
 

Detailed Description

All decomposition-related functions and registers.