Cadabra
Computer algebra system for field theory problems
flatten_sum.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Algorithm.hh"
4 
5 namespace cadabra {
6 
7  class flatten_sum : public Algorithm {
8  public:
9  flatten_sum(const Kernel&, Ex&);
10 
11  virtual bool can_apply(iterator);
12  virtual result_t apply(iterator&);
13 
15  };
16 
17  }
Base class for all algorithms, containing generic routines and in particular the logic for index clas...
Definition: Algorithm.hh:59
Ex::iterator iterator
Definition: Algorithm.hh:70
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:142
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:164
Definition: Kernel.hh:15
Definition: flatten_sum.hh:7
flatten_sum(const Kernel &, Ex &)
Definition: flatten_sum.cc:6
virtual result_t apply(iterator &)
Definition: flatten_sum.cc:24
bool make_consistent_only
Definition: flatten_sum.hh:14
virtual bool can_apply(iterator)
Definition: flatten_sum.cc:11
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83