Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
flatten_sum.hh
Go to the documentation of this file.
1 
2 #include "Algorithm.hh"
3 
4 namespace cadabra {
5 
6  class flatten_sum : public Algorithm {
7  public:
8  flatten_sum(const Kernel&, Ex&);
9 
10  virtual bool can_apply(iterator);
11  virtual result_t apply(iterator&);
12 
14  };
15 
16 }
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
flatten_sum(const Kernel &, Ex &)
Definition: flatten_sum.cc:6
bool make_consistent_only
Definition: flatten_sum.hh:13
virtual result_t apply(iterator &)
Definition: flatten_sum.cc:24
Ex::iterator iterator
Definition: Algorithm.hh:69
virtual bool can_apply(iterator)
Definition: flatten_sum.cc:11
Definition: flatten_sum.hh:6
Definition: Kernel.hh:15
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:149