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  }
Base class for all algorithms, containing generic routines and in particular the logic for index clas...
Definition: Algorithm.hh:59
Ex::iterator iterator
Definition: Algorithm.hh:70
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:142
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:164
Definition: Kernel.hh:15
Definition: epsilon_to_delta.hh:9
int signature
Definition: epsilon_to_delta.hh:18
virtual bool can_apply(iterator) override
Definition: epsilon_to_delta.cc:14
virtual result_t apply(iterator &) override
Definition: epsilon_to_delta.cc:56
bool reduce
Definition: epsilon_to_delta.hh:16
Ex repdelta
Definition: epsilon_to_delta.hh:19
epsilon_to_delta(const Kernel &, Ex &, bool reduce_)
Definition: epsilon_to_delta.cc:9
std::vector< Ex::iterator > epsilons
Definition: epsilon_to_delta.hh:17
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83