Cadabra
Computer algebra system for field theory problems
Toggle main menu visibility
Loading...
Searching...
No Matches
core
algorithms
join_gamma.hh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Algorithm.hh
"
4
#include "
properties/GammaMatrix.hh
"
5
6
namespace
cadabra
{
7
8
class
join_gamma
:
public
Algorithm
{
9
public
:
10
join_gamma
(
const
Kernel
&,
Ex
&,
bool
expand
,
bool
use_gendelta);
11
12
virtual
bool
can_apply
(
iterator
);
13
virtual
result_t
apply
(
iterator
&);
14
15
bool
expand
;
16
std::vector<int>
only_expand
;
17
const
GammaMatrix
*
gm1
, *
gm2
;
18
private
:
19
void
regroup_indices_
(
sibling_iterator
,
sibling_iterator
,
unsigned
int
,
20
std::vector<Ex>&, std::vector<Ex>& );
21
void
append_prod_
(
const
std::vector<Ex>& r1,
const
std::vector<Ex>& r2,
22
unsigned
int
num1,
unsigned
int
num2,
unsigned
int
i,
multiplier_t
mult,
23
Ex
& rep,
iterator
loc);
24
25
bool
use_generalised_delta_
;
26
Ex::iterator
gamma_name_
;
27
str_node::bracket_t
gamma_bracket_
;
28
};
29
30
}
Algorithm.hh
GammaMatrix.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::sibling_iterator
Ex::sibling_iterator sibling_iterator
Definition
ExManip.hh:14
cadabra::ExManip::iterator
Ex::iterator iterator
Definition
ExManip.hh:12
cadabra::GammaMatrix
Definition
GammaMatrix.hh:9
cadabra::Kernel
Definition
Kernel.hh:15
cadabra::join_gamma::expand
bool expand
Definition
join_gamma.hh:15
cadabra::join_gamma::gamma_bracket_
str_node::bracket_t gamma_bracket_
Definition
join_gamma.hh:27
cadabra::join_gamma::gm1
const GammaMatrix * gm1
Definition
join_gamma.hh:17
cadabra::join_gamma::apply
virtual result_t apply(iterator &)
Definition
join_gamma.cc:138
cadabra::join_gamma::use_generalised_delta_
bool use_generalised_delta_
Definition
join_gamma.hh:25
cadabra::join_gamma::gm2
const GammaMatrix * gm2
Definition
join_gamma.hh:17
cadabra::join_gamma::append_prod_
void append_prod_(const std::vector< Ex > &r1, const std::vector< Ex > &r2, unsigned int num1, unsigned int num2, unsigned int i, multiplier_t mult, Ex &rep, iterator loc)
Definition
join_gamma.cc:49
cadabra::join_gamma::gamma_name_
Ex::iterator gamma_name_
Definition
join_gamma.hh:26
cadabra::join_gamma::can_apply
virtual bool can_apply(iterator)
Definition
join_gamma.cc:109
cadabra::join_gamma::only_expand
std::vector< int > only_expand
Definition
join_gamma.hh:16
cadabra::join_gamma::regroup_indices_
void regroup_indices_(sibling_iterator, sibling_iterator, unsigned int, std::vector< Ex > &, std::vector< Ex > &)
Definition
join_gamma.cc:15
cadabra::join_gamma::join_gamma
join_gamma(const Kernel &, Ex &, bool expand, bool use_gendelta)
Definition
join_gamma.cc:10
cadabra::str_node::bracket_t
bracket_t
Definition
Storage.hh:64
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition
Adjform.cc:83
cadabra::multiplier_t
Multiplier multiplier_t
Definition
Storage.hh:44
Generated by
1.17.0