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  }
cadabra::Algorithm::iterator
Ex::iterator iterator
Definition: Algorithm.hh:70
cadabra::Kernel
Definition: Kernel.hh:14
cadabra::flatten_sum::apply
virtual result_t apply(iterator &)
Definition: flatten_sum.cc:24
Algorithm.hh
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::flatten_sum::flatten_sum
flatten_sum(const Kernel &, Ex &)
Definition: flatten_sum.cc:6
cadabra::Ex
Definition: Storage.hh:140
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:80
cadabra::flatten_sum::make_consistent_only
bool make_consistent_only
Definition: flatten_sum.hh:14
cadabra::flatten_sum::can_apply
virtual bool can_apply(iterator)
Definition: flatten_sum.cc:11
cadabra::flatten_sum
Definition: flatten_sum.hh:7