Cadabra
Computer algebra system for field theory problems
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  }
cadabra::Algorithm::iterator
Ex::iterator iterator
Definition: Algorithm.hh:70
cadabra::product_rule::product_rule
product_rule(const Kernel &, Ex &)
Definition: product_rule.cc:10
cadabra::Kernel
Definition: Kernel.hh:14
Algorithm.hh
cadabra::product_rule::apply
virtual result_t apply(iterator &) override
Definition: product_rule.cc:43
cadabra::product_rule::number_of_indices
unsigned int number_of_indices
Definition: product_rule.hh:14
cadabra::Ex::result_t
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:159
cadabra::Algorithm
Definition: Algorithm.hh:59
cadabra::Ex
Definition: Storage.hh:140
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Algorithm.cc:1045
cadabra::product_rule::can_apply
virtual bool can_apply(iterator) override
Definition: product_rule.cc:20
cadabra::Algorithm::sibling_iterator
Ex::sibling_iterator sibling_iterator
Definition: Algorithm.hh:72
cadabra::product_rule
Definition: product_rule.hh:6
cadabra::product_rule::prodnode
sibling_iterator prodnode
Definition: product_rule.hh:13