Cadabra
Computer algebra system for field theory problems
epsilon_to_delta.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Algorithm.hh"
5 #include <vector>
6 
7 namespace cadabra {
8 
9  class epsilon_to_delta : public Algorithm {
10  public:
11  epsilon_to_delta(const Kernel&, Ex&, bool reduce_);
12 
13  virtual bool can_apply(iterator) override;
14  virtual result_t apply(iterator&) override;
15  private:
16  bool reduce;
17  std::vector<Ex::iterator> epsilons;
18  int signature;
20  };
21 
22  }
cadabra::epsilon_to_delta::apply
virtual result_t apply(iterator &) override
Definition: epsilon_to_delta.cc:56
Algorithm.hh
cadabra::epsilon_to_delta::epsilon_to_delta
epsilon_to_delta(const Kernel &, Ex &, bool reduce_)
Definition: epsilon_to_delta.cc:9
cadabra::Kernel
Definition: Kernel.hh:15
cadabra::epsilon_to_delta::repdelta
Ex repdelta
Definition: epsilon_to_delta.hh:19
cadabra::epsilon_to_delta::signature
int signature
Definition: epsilon_to_delta.hh:18
cadabra::epsilon_to_delta::epsilons
std::vector< Ex::iterator > epsilons
Definition: epsilon_to_delta.hh:17
cadabra::epsilon_to_delta
Definition: epsilon_to_delta.hh:9
cadabra::Algorithm::iterator
Ex::iterator iterator
Definition: Algorithm.hh:70
cadabra::epsilon_to_delta::reduce
bool reduce
Definition: epsilon_to_delta.hh:16
cadabra::Algorithm
Definition: Algorithm.hh:59
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
cadabra::Ex
Definition: Storage.hh:140
cadabra::Ex::result_t
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:159
cadabra::epsilon_to_delta::can_apply
virtual bool can_apply(iterator) override
Definition: epsilon_to_delta.cc:14