48 bool collect_symmetries(
const std::vector<tab_t>& tabs, std::vector<symmetrizer_t>& symmetrizers)
const;
Base class for all algorithms, containing generic routines and in particular the logic for index clas...
Definition: Algorithm.hh:59
Ex::iterator iterator
Definition: Algorithm.hh:70
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:142
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:164
const Kernel & kernel
Definition: IndexClassifier.hh:76
To ensure consistency when creating adjforms out of two different Ex objects an IndexMap object is re...
Definition: Adjform.hh:121
yngtab::filled_tableau< unsigned int > tab_t
Definition: TableauBase.hh:12
void symmetrize_as_sum(ProjectedTerm &adj, const std::vector< symmetrizer_t > &symmetries)
Definition: meld.cc:1113
std::vector< tab_t > collect_tableaux(Ex &ex) const
Definition: meld.cc:718
bool can_apply_traceless(iterator it)
Definition: meld.cc:128
bool collect_symmetries_as_product(const std::vector< tab_t > &tabs, std::vector< symmetrizer_t > &symmetrizers) const
Definition: meld.cc:768
bool apply_tableaux(iterator it)
Definition: meld.cc:208
virtual result_t apply(iterator &it) override
Definition: meld.cc:50
virtual ~meld()
Definition: meld.cc:37
bool can_apply_diagonals(iterator it)
Definition: meld.cc:97
void symmetrize(ProjectedTerm &adj, const std::vector< symmetrizer_t > &symmetries)
Definition: meld.cc:987
IndexMap index_map
Definition: meld.hh:77
bool can_apply_tableaux(iterator it)
Definition: meld.cc:191
bool project_as_sum
Definition: meld.hh:78
bool can_apply_cycle_traces(iterator it)
Definition: meld.cc:1199
bool apply_traceless(iterator it)
Definition: meld.cc:134
void symmetrize_idents(ProjectedTerm &sym)
Definition: meld.cc:1165
bool collect_symmetries(const std::vector< tab_t > &tabs, std::vector< symmetrizer_t > &symmetrizers) const
Definition: meld.cc:760
virtual bool can_apply(iterator it) override
Definition: meld.cc:41
bool apply_diagonals(iterator it)
Definition: meld.cc:103
bool apply_cycle_traces(iterator it)
Definition: meld.cc:1287
void symmetrize_as_product(ProjectedTerm &adj, const std::vector< symmetrizer_t > &symmetrizers)
Definition: meld.cc:995
meld(const Kernel &kernel, Ex &ex, bool project_as_sum=false)
Definition: meld.cc:30
bool collect_symmetries_as_sum(const std::vector< tab_t > &tabs, std::vector< symmetrizer_t > &symmetrizers) const
Definition: meld.cc:870
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
Ex::iterator it
Definition: meld.hh:31
Ex tensor
Definition: meld.hh:28
bool changed
Definition: meld.hh:32
Adjform ident
Definition: meld.hh:30
Ex scalar
Definition: meld.hh:28
ProjectedTerm(const Kernel &kernel, IndexMap &index_map, Ex &ex, Ex::iterator it)
Definition: meld.cc:482
ProjectedAdjform projection
Definition: meld.hh:29
bool compare(const Kernel &kernel, const ProjectedTerm &other)
Definition: meld.cc:561
bool antisymmetric
Definition: meld.hh:38
std::vector< size_t > indices
Definition: meld.hh:37
symmetrizer_t(bool antisymmetric, bool independent)
Definition: meld.hh:36
bool independent
Definition: meld.hh:38