Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:58
virtual bool can_apply(iterator) override
Definition: epsilon_to_delta.cc:14
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:130
epsilon_to_delta(const Kernel &, Ex &, bool reduce_)
Definition: epsilon_to_delta.cc:9
Definition: epsilon_to_delta.hh:9
Ex repdelta
Definition: epsilon_to_delta.hh:19
std::vector< Ex::iterator > epsilons
Definition: epsilon_to_delta.hh:17
Ex::iterator iterator
Definition: Algorithm.hh:69
int signature
Definition: epsilon_to_delta.hh:18
bool reduce
Definition: epsilon_to_delta.hh:16
Definition: Kernel.hh:15
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:149
virtual result_t apply(iterator &) override
Definition: epsilon_to_delta.cc:48