Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
young_project.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Algorithm.hh"
5 #include "YoungTab.hh"
6 
7 namespace cadabra {
8 
9 class young_project : public Algorithm {
10  public:
11  young_project(const Kernel&, Ex&);
12  young_project(const Kernel&, Ex&, const std::vector<int>& shape, const std::vector<int>& indices);
13 
14  virtual bool can_apply(iterator);
15  virtual result_t apply(iterator&);
16 
17  // Boxes represent tensor slots, the values in them
18  // give the location in the tensor.
24 
25  // Implicit antisymmetry; used by tableaux.cc only so far. These
26  // store index locations, so these are "values" from the
27  // combinatorics.hh point of view.
30 
31  private:
32  iterator nth_index_node(iterator, unsigned int);
33 };
34 
35 }
name_tab_t nametab
Definition: young_project.hh:22
Base class for all algorithms, containing generic routines and in particular the logic for index clas...
Definition: Algorithm.hh:58
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:130
std::vector< std::vector< T > > permuted_sets_t
Definition: Combinatorics.hh:103
pos_tab_t tab
Definition: young_project.hh:21
yngtab::filled_tableau< iterator > name_tab_t
Definition: young_project.hh:20
young_project(const Kernel &, Ex &)
Definition: young_project.cc:7
bool remove_traces
Definition: young_project.hh:29
yngtab::filled_tableau< unsigned int > pos_tab_t
Definition: young_project.hh:19
combin::symmetriser< unsigned int > sym
Definition: young_project.hh:23
combin::combinations< unsigned int >::permuted_sets_t asym_ranges
Definition: young_project.hh:28
Definition: young_project.hh:9
virtual result_t apply(iterator &)
Definition: young_project.cc:71
Ex::iterator iterator
Definition: Algorithm.hh:69
Definition: Kernel.hh:15
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:149
virtual bool can_apply(iterator)
Definition: young_project.cc:27
iterator nth_index_node(iterator, unsigned int)
Definition: young_project.cc:64