Cadabra
Computer algebra system for field theory problems
split_index.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Algorithm.hh"
5 #include "properties/Indices.hh"
7 
8 namespace cadabra {
9 
10  class split_index : public Algorithm {
11  public:
12  split_index(const Kernel&, Ex&, Ex&);
13 
14  virtual bool can_apply(iterator);
15  virtual result_t apply(iterator&);
16 
17  private:
21  long num1, num2;
22 
24  };
25 
26  }
Indices.hh
Algorithm.hh
cadabra::split_index::part2_coord
const Coordinate * part2_coord
Definition: split_index.hh:19
cadabra::split_index::part2_is_number
bool part2_is_number
Definition: split_index.hh:20
cadabra::Kernel
Definition: Kernel.hh:15
cadabra::split_index::part1_coord_node
iterator part1_coord_node
Definition: split_index.hh:23
cadabra::split_index::num1
long num1
Definition: split_index.hh:21
cadabra::Indices
Definition: Indices.hh:8
Coordinate.hh
cadabra::split_index::part2_coord_node
iterator part2_coord_node
Definition: split_index.hh:23
cadabra::split_index::apply
virtual result_t apply(iterator &)
Definition: split_index.cc:68
cadabra::split_index::num2
long num2
Definition: split_index.hh:21
cadabra::split_index::part1_is_number
bool part1_is_number
Definition: split_index.hh:20
cadabra::split_index::split_index
split_index(const Kernel &, Ex &, Ex &)
Definition: split_index.cc:8
cadabra::split_index::part1_coord
const Coordinate * part1_coord
Definition: split_index.hh:19
cadabra::split_index
Definition: split_index.hh:10
cadabra::split_index::can_apply
virtual bool can_apply(iterator)
Definition: split_index.cc:50
cadabra::Algorithm::iterator
Ex::iterator iterator
Definition: Algorithm.hh:70
cadabra::Algorithm
Definition: Algorithm.hh:59
cadabra::split_index::part2_class
const Indices * part2_class
Definition: split_index.hh:18
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::split_index::full_class
const Indices * full_class
Definition: split_index.hh:18
cadabra::Ex::result_t
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:159
cadabra::Coordinate
Definition: Coordinate.hh:8
cadabra::split_index::part1_class
const Indices * part1_class
Definition: split_index.hh:18