Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions
Cleanup.cc File Reference
#include "Cleanup.hh"
#include "Functional.hh"
#include "Algorithm.hh"
#include "algorithms/collect_terms.hh"
#include "properties/SelfAntiCommuting.hh"
#include "properties/Diagonal.hh"
#include "properties/ExteriorDerivative.hh"
#include "properties/DifferentialForm.hh"
#include "properties/KroneckerDelta.hh"
#include "properties/NumericalFlat.hh"
#include "properties/PartialDerivative.hh"
#include "properties/ImaginaryI.hh"

Namespaces

 cadabra
 Functions to handle the exchange properties of two or more symbols in a product.
 

Functions

void cadabra::cleanup_dispatch (const Kernel &k, Ex &, Ex::iterator &it)
 Central cleanup dispatch routine, which calls the other cleanup functions defined later. More...
 
void cadabra::check_index_consistency (const Kernel &k, Ex &tr, Ex::iterator it)
 Generic tool to check for index inconsistencies independent of running any algorithm. More...
 
bool cadabra::cleanup_productlike (const Kernel &k, Ex &, Ex::iterator &it)
 Individual node cleanup routines. More...
 
bool cadabra::cleanup_sumlike (const Kernel &k, Ex &tr, Ex::iterator &it)
 
bool cadabra::push_down_multiplier (const Kernel &k, Ex &tr, Ex::iterator it)
 Given a node with a non-unit multiplier, push this multiplier down the tree if the node is not allowed to have a non-unit multiplier. More...
 
bool cadabra::cleanup_components (const Kernel &k, Ex &tr, Ex::iterator &it)
 
bool cadabra::cleanup_partialderivative (const Kernel &k, Ex &tr, Ex::iterator &it)
 
bool cadabra::cleanup_derivative (const Kernel &k, Ex &tr, Ex::iterator &it)
 
bool cadabra::cleanup_numericalflat (const Kernel &k, Ex &tr, Ex::iterator &it)
 
bool cadabra::cleanup_diagonal (const Kernel &k, Ex &tr, Ex::iterator &it)
 
bool cadabra::cleanup_kronecker (const Kernel &k, Ex &tr, Ex::iterator &it)
 
bool cadabra::cleanup_exterior_derivative (const Kernel &k, Ex &tr, Ex::iterator &it)
 
void cadabra::cleanup_dispatch_deep (const Kernel &k, Ex &, dispatcher_t disp=&cleanup_dispatch)
 More general cleanup of an entire tree. More...
 
void cadabra::cleanup_dispatch_deep (const Kernel &k, Ex &tr, Ex::iterator &top, dispatcher_t dispatch)