Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
product_rule.hh
Go to the documentation of this file.
1 
2 #include "Algorithm.hh"
3 
4 namespace cadabra {
5 
6 class product_rule : public Algorithm {
7  public:
8  product_rule(const Kernel&, Ex&);
9 
10  virtual bool can_apply(iterator) override;
11  virtual result_t apply(iterator&) override;
12 
14  unsigned int number_of_indices;
15 };
16 
17 }
Base class for all algorithms, containing generic routines and in particular the logic for index clas...
Definition: Algorithm.hh:58
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:130
Definition: product_rule.hh:6
sibling_iterator prodnode
Definition: product_rule.hh:13
Ex::iterator iterator
Definition: Algorithm.hh:69
Ex::sibling_iterator sibling_iterator
Definition: Algorithm.hh:71
virtual result_t apply(iterator &) override
Definition: product_rule.cc:43
product_rule(const Kernel &, Ex &)
Definition: product_rule.cc:10
virtual bool can_apply(iterator) override
Definition: product_rule.cc:20
Definition: Kernel.hh:15
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:149
unsigned int number_of_indices
Definition: product_rule.hh:14