Cadabra
Computer algebra system for field theory problems
unwrap.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Algorithm.hh"
4 
5 namespace cadabra {
6 
7  class unwrap : public Algorithm {
8  public:
9  unwrap(const Kernel&, Ex&, Ex&);
10 
11  virtual bool can_apply(iterator) override;
12  virtual result_t apply(iterator&) override;
13 
14  std::vector<Ex> wrappers;
15 
16  private:
18 
19  };
20 
21  }
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:163
Definition: Kernel.hh:15
Definition: unwrap.hh:7
unwrap(const Kernel &, Ex &, Ex &)
Definition: unwrap.cc:18
virtual bool can_apply(iterator) override
Definition: unwrap.cc:34
result_t apply_on_wedge(iterator &)
Definition: unwrap.cc:64
std::vector< Ex > wrappers
Definition: unwrap.hh:14
virtual result_t apply(iterator &) override
Definition: unwrap.cc:129
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83