bool cleanup_sumlike(const Kernel &k, Ex &tr, Ex::iterator &it)
Definition: Cleanup.cc:161
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:130
bool cleanup_exterior_derivative(const Kernel &k, Ex &tr, Ex::iterator &it)
Definition: Cleanup.cc:495
bool cleanup_kronecker(const Kernel &k, Ex &tr, Ex::iterator &it)
Definition: Cleanup.cc:469
void(* dispatcher_t)(const Kernel &k, Ex &, Ex::iterator &it)
Definition: Cleanup.hh:29
bool cleanup_components(const Kernel &k, Ex &tr, Ex::iterator &it)
Definition: Cleanup.cc:274
bool cleanup_numericalflat(const Kernel &k, Ex &tr, Ex::iterator &it)
Definition: Cleanup.cc:415
bool cleanup_productlike(const Kernel &k, Ex &tr, Ex::iterator &it)
Individual node cleanup routines.
Definition: Cleanup.cc:97
void cleanup_dispatch_deep(const Kernel &k, Ex &tr, dispatcher_t dispatch)
More general cleanup of an entire tree.
Definition: Cleanup.cc:511
void cleanup_dispatch(const Kernel &kernel, Ex &tr, Ex::iterator &it)
Central cleanup dispatch routine, which calls the other cleanup functions defined later...
Definition: Cleanup.cc:15
int k
Definition: passing.cc:4
bool 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 allowe...
Definition: Cleanup.cc:228
bool cleanup_diagonal(const Kernel &k, Ex &tr, Ex::iterator &it)
Definition: Cleanup.cc:450
void check_index_consistency(const Kernel &k, Ex &tr, Ex::iterator it)
Generic tool to check for index inconsistencies independent of running any algorithm.
Definition: Cleanup.cc:89
bool cleanup_partialderivative(const Kernel &k, Ex &tr, Ex::iterator &it)
Definition: Cleanup.cc:324
bool cleanup_derivative(const Kernel &k, Ex &tr, Ex::iterator &it)
Definition: Cleanup.cc:362