Ex::iterator iterator
Definition Algorithm.hh:70
Algorithm(const Kernel &, Ex &)
Initialise the algorithm with a reference to the expression tree, but do not yet do anything with thi...
Definition Algorithm.cc:47
Ex::result_t result_t
Definition Algorithm.hh:73
Basic storage class for symbolic mathemematical expressions.
Definition Storage.hh:142
Definition WeightInherit.hh:9
std::string label
Definition drop_weight.hh:22
const Weight * wgh
Definition drop_weight.hh:21
result_t do_apply(iterator &, bool keepthem)
Definition drop_weight.cc:60
drop_keep_weight(const Kernel &, Ex &, Ex &)
Definition drop_weight.cc:10
virtual bool can_apply(iterator) override
Definition drop_weight.cc:29
Ex arg
Definition drop_weight.hh:19
const WeightInherit * gmn
Definition drop_weight.hh:20
multiplier_t weight
Definition drop_weight.hh:23
virtual result_t apply(iterator &) override
Definition drop_weight.cc:136
drop_weight(const Kernel &, Ex &, Ex &)
Definition drop_weight.cc:131
keep_weight(const Kernel &, Ex &, Ex &)
Definition drop_weight.cc:141
virtual result_t apply(iterator &) override
Definition drop_weight.cc:146
Functions to handle the exchange properties of two or more symbols in a product.
Definition Adjform.cc:83
mpq_class multiplier_t
Definition Storage.hh:38