Cadabra
Computer algebra system for field theory problems
Toggle main menu visibility
Loading...
Searching...
No Matches
core
algorithms
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.
19
typedef
yngtab::filled_tableau<unsigned int>
pos_tab_t
;
20
typedef
yngtab::filled_tableau<iterator>
name_tab_t
;
21
pos_tab_t
tab
;
22
name_tab_t
nametab
;
23
combin::symmetriser<unsigned int>
sym
;
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.
28
combin::combinations<unsigned int>::permuted_sets_t
asym_ranges
;
29
bool
remove_traces
;
30
31
private
:
32
iterator
nth_index_node
(
iterator
,
unsigned
int
);
33
};
34
35
}
Algorithm.hh
YoungTab.hh
cadabra::Algorithm::Algorithm
Algorithm(const Kernel &, Ex &)
Initialise the algorithm with a reference to the expression tree, but do not yet do anything with thi...
Definition
Algorithm.cc:52
cadabra::Algorithm::result_t
Ex::result_t result_t
Definition
Algorithm.hh:65
cadabra::Ex
Definition
Storage.hh:170
cadabra::ExManip::iterator
Ex::iterator iterator
Definition
ExManip.hh:12
cadabra::Kernel
Definition
Kernel.hh:15
cadabra::young_project::pos_tab_t
yngtab::filled_tableau< unsigned int > pos_tab_t
Definition
young_project.hh:19
cadabra::young_project::tab
pos_tab_t tab
Definition
young_project.hh:21
cadabra::young_project::apply
virtual result_t apply(iterator &)
Definition
young_project.cc:71
cadabra::young_project::young_project
young_project(const Kernel &, Ex &)
Definition
young_project.cc:7
cadabra::young_project::can_apply
virtual bool can_apply(iterator)
Definition
young_project.cc:27
cadabra::young_project::sym
combin::symmetriser< unsigned int > sym
Definition
young_project.hh:23
cadabra::young_project::nametab
name_tab_t nametab
Definition
young_project.hh:22
cadabra::young_project::asym_ranges
combin::combinations< unsignedint >::permuted_sets_t asym_ranges
Definition
young_project.hh:28
cadabra::young_project::remove_traces
bool remove_traces
Definition
young_project.hh:29
cadabra::young_project::nth_index_node
iterator nth_index_node(iterator, unsigned int)
Definition
young_project.cc:64
cadabra::young_project::name_tab_t
yngtab::filled_tableau< iterator > name_tab_t
Definition
young_project.hh:20
combin::combinations::permuted_sets_t
std::vector< std::vector< T > > permuted_sets_t
Definition
Combinatorics.hh:103
combin::symmetriser
Definition
Combinatorics.hh:154
yngtab::filled_tableau
Definition
YoungTab.hh:87
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition
Adjform.cc:83
Generated by
1.17.0