Cadabra
Computer algebra system for field theory problems
expand.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Algorithm.hh"
5 
6 namespace cadabra {
7 
8  class expand : public Algorithm {
9  public:
10  expand(const Kernel&, Ex&);
11 
12  virtual bool can_apply(iterator) override;
13  virtual result_t apply(iterator&) override;
14 
15  private:
18  index_iterator nth_implicit_index(Ex::iterator eform, Ex::iterator iform, unsigned int n);
19  };
20 
21  }
cadabra::expand::apply
virtual result_t apply(iterator &) override
Definition: expand.cc:138
Algorithm.hh
cadabra::expand::can_apply
virtual bool can_apply(iterator) override
Definition: expand.cc:32
cadabra::index_iterator
Definition: IndexIterator.hh:16
cadabra::Kernel
Definition: Kernel.hh:15
cadabra::expand::ii_last
iterator ii_last
Definition: expand.hh:16
cadabra::expand
Definition: expand.hh:8
cadabra::expand::mx_first
iterator mx_first
Definition: expand.hh:16
cadabra::expand::one_index
bool one_index
Definition: expand.hh:17
cadabra::expand::nth_implicit_index
index_iterator nth_implicit_index(Ex::iterator eform, Ex::iterator iform, unsigned int n)
Definition: expand.cc:14
cadabra::expand::mx_last
iterator mx_last
Definition: expand.hh:16
cadabra::Algorithm::iterator
Ex::iterator iterator
Definition: Algorithm.hh:70
cadabra::expand::check_pos
bool check_pos
Definition: expand.hh:17
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::expand::ii_first
iterator ii_first
Definition: expand.hh:16
cadabra::Ex::result_t
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:159
cadabra::expand::expand
expand(const Kernel &, Ex &)
Definition: expand.cc:9