Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PreClean.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Algorithm.hh"
5 
19 
20 namespace cadabra {
21 
22 void pre_clean_dispatch(const Kernel& k, Ex&, Ex::iterator& it);
23 void pre_clean_dispatch_deep(const Kernel& k, Ex&);
24 
28 
29 void cleanup_updown(const Kernel& k, Ex&, Ex::iterator& it);
30 void cleanup_rational(const Kernel& k, Ex&, Ex::iterator& it);
31 void cleanup_frac(const Kernel& k, Ex&, Ex::iterator& it);
32 void cleanup_sub(const Kernel& k, Ex&, Ex::iterator& it);
33 
36 void cleanup_indexbracket(const Kernel& k, Ex&, Ex::iterator& it);
37 
38 }
void cleanup_rational(const Kernel &k, Ex &tr, Ex::iterator &st)
Definition: PreClean.cc:35
void cleanup_indexbracket(const Kernel &k, Ex &tr, Ex::iterator &it)
Convert parser output which indicates an indexbracket to an actual indexbracket node.
Definition: PreClean.cc:130
void pre_clean_dispatch_deep(const Kernel &k, Ex &tr)
Definition: PreClean.cc:18
void cleanup_frac(const Kernel &k, Ex &tr, Ex::iterator &st)
Definition: PreClean.cc:42
void cleanup_sub(const Kernel &k, Ex &tr, Ex::iterator &it)
Definition: PreClean.cc:98
int k
Definition: passing.cc:4
void pre_clean_dispatch(const Kernel &kernel, Ex &ex, Ex::iterator &it)
Definition: PreClean.cc:7
void cleanup_updown(const Kernel &k, Ex &tr, Ex::iterator &st)
Cleanup for individual node types.
Definition: PreClean.cc:23