Cadabra
Computer algebra system for field theory problems
lr_tensor.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Algorithm.hh"
5 
6 namespace cadabra {
7 
8  class lr_tensor : public tab_basics {
9  public:
10  lr_tensor(const Kernel&, Ex&);
11 
12  virtual bool can_apply(iterator) override;
13  virtual result_t apply(iterator&) override;
14 
16 
17  private:
18  void do_tableau(iterator&, int dimension);
19  void do_filledtableau(iterator&, int dimension);
20  };
21 
22  }
Ex::iterator iterator
Definition: Algorithm.hh:70
Ex::sibling_iterator sibling_iterator
Definition: Algorithm.hh:72
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: lr_tensor.hh:8
virtual result_t apply(iterator &) override
Definition: lr_tensor.cc:53
sibling_iterator tab2
Definition: lr_tensor.hh:15
lr_tensor(const Kernel &, Ex &)
Definition: lr_tensor.cc:9
sibling_iterator tab1
Definition: lr_tensor.hh:15
void do_filledtableau(iterator &, int dimension)
Definition: lr_tensor.cc:66
virtual bool can_apply(iterator) override
Definition: lr_tensor.cc:14
void do_tableau(iterator &, int dimension)
Definition: lr_tensor.cc:106
Definition: tab_basics.hh:8
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83