Cadabra
Computer algebra system for field theory problems
product_rule.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Algorithm.hh"
4 
5 namespace cadabra {
6 
7  class product_rule : public Algorithm {
8  public:
9  product_rule(const Kernel&, Ex&);
10 
11  virtual bool can_apply(iterator) override;
12  virtual result_t apply(iterator&) override;
13 
15  unsigned int number_of_indices;
16  };
17 
18  }
cadabra::Algorithm::sibling_iterator
Ex::sibling_iterator sibling_iterator
Definition: Algorithm.hh:72
Algorithm.hh
cadabra::product_rule::product_rule
product_rule(const Kernel &, Ex &)
Definition: product_rule.cc:12
cadabra::Kernel
Definition: Kernel.hh:15
cadabra::product_rule::apply
virtual result_t apply(iterator &) override
Definition: product_rule.cc:45
cadabra::product_rule::number_of_indices
unsigned int number_of_indices
Definition: product_rule.hh:15
cadabra::Algorithm::iterator
Ex::iterator iterator
Definition: Algorithm.hh:70
cadabra::Algorithm
Definition: Algorithm.hh:59
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
cadabra::Ex
Definition: Storage.hh:140
cadabra::product_rule::can_apply
virtual bool can_apply(iterator) override
Definition: product_rule.cc:22
cadabra::Ex::result_t
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:159
cadabra::product_rule
Definition: product_rule.hh:7
cadabra::product_rule::prodnode
sibling_iterator prodnode
Definition: product_rule.hh:14