Cadabra
Computer algebra system for field theory problems
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  }
cadabra::Algorithm::iterator
Ex::iterator iterator
Definition: Algorithm.hh:70
cadabra::young_project::pos_tab_t
yngtab::filled_tableau< unsigned int > pos_tab_t
Definition: young_project.hh:19
cadabra::young_project::sym
combin::symmetriser< unsigned int > sym
Definition: young_project.hh:23
cadabra::Kernel
Definition: Kernel.hh:14
Algorithm.hh
cadabra::Ex::result_t
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:159
cadabra::young_project::nth_index_node
iterator nth_index_node(iterator, unsigned int)
Definition: young_project.cc:64
cadabra::young_project::remove_traces
bool remove_traces
Definition: young_project.hh:29
cadabra::young_project::young_project
young_project(const Kernel &, Ex &)
Definition: young_project.cc:7
cadabra::Algorithm
Definition: Algorithm.hh:59
YoungTab.hh
cadabra::young_project::asym_ranges
combin::combinations< unsigned int >::permuted_sets_t asym_ranges
Definition: young_project.hh:28
cadabra::young_project
Definition: young_project.hh:9
cadabra::young_project::tab
pos_tab_t tab
Definition: young_project.hh:21
cadabra::young_project::name_tab_t
yngtab::filled_tableau< iterator > name_tab_t
Definition: young_project.hh:20
yngtab::filled_tableau< unsigned int >
cadabra::Ex
Definition: Storage.hh:140
cadabra::young_project::nametab
name_tab_t nametab
Definition: young_project.hh:22
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:82
combin::symmetriser< unsigned int >
cadabra::young_project::can_apply
virtual bool can_apply(iterator)
Definition: young_project.cc:27
cadabra::young_project::apply
virtual result_t apply(iterator &)
Definition: young_project.cc:71
combin::combinations::permuted_sets_t
std::vector< std::vector< T > > permuted_sets_t
Definition: Combinatorics.hh:103