Cadabra
Computer algebra system for field theory problems
Loading...
Searching...
No Matches
product_rule.hh
Go to the documentation of this file.
1#pragma once
2
3#include "Algorithm.hh"
4
5namespace 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 }
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:52
Ex::result_t result_t
Definition Algorithm.hh:65
Definition Storage.hh:170
Ex::sibling_iterator sibling_iterator
Definition ExManip.hh:14
Ex::iterator iterator
Definition ExManip.hh:12
Definition Kernel.hh:15
product_rule(const Kernel &, Ex &)
Definition product_rule.cc:14
unsigned int number_of_indices
Definition product_rule.hh:15
sibling_iterator prodnode
Definition product_rule.hh:14
virtual result_t apply(iterator &) override
Definition product_rule.cc:51
virtual bool can_apply(iterator) override
Definition product_rule.cc:24
Functions to handle the exchange properties of two or more symbols in a product.
Definition Adjform.cc:83