Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
ordering.h
Go to the documentation of this file.
1 // This file is part of MARTY.
2 //
3 // MARTY is free software: you can redistribute it and/or modify
4 // it under the terms of the GNU General Public License as published by
5 // the Free Software Foundation, either version 3 of the License, or
6 // (at your option) any later version.
7 //
8 // MARTY is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with MARTY. If not, see <https://www.gnu.org/licenses/>.
15 
23 #pragma once
24 
25 #include "abstractgammasym.h"
26 
27 namespace sgl {
28 
29  class GammaIndex;
30 
31  bool freeOrder(
32  std::vector<csl::Index> const &mu,
33  std::vector<csl::Index> const &nu
34  );
35 
36  bool contractedOrder(
37  GExpr const &A,
38  GExpr const &B
39  );
40 
41  bool isOrdered(
42  GExpr const &prod,
43  GammaIndex const &mu,
44  GammaIndex const &nu
45  );
46 
47  size_t simplest(
48  GExpr const &prod,
49  GExpr const &chain,
50  size_t begin = 0
51  );
52 }
csl::Expr mu
mu parameter.
Definition: MSSM.h:83
Definition: abstractgammasym.h:32
Contains the base class for the Symbolic Gamma Library (SGL) and the GExpr definition.