Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
epsilonindex.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 "generalizedindex.h"
26 
27 namespace sgl {
28 
30 
31  public:
32 
34  csl::Index const &mu,
35  csl::Index const &nu,
36  csl::Index const &rho,
37  csl::Index const &sigma
38  );
39 
40  bool isZero() const override;
41 
42  GExpr copy() const override;
43  GExpr refresh() const override;
44 
45  csl::Expr getFactor() const override;
46  GExpr getTerm() const override;
47 
48  csl::Expr toCSL(TensorSet const&) const override;
49 
50  bool hasPropertyWith(GExpr const &other) const override;
51  GExpr propertyWith(GExpr const &other) const override;
52 
53  GExpr chisholmIdentity1(
54  csl::Index const &mu,
55  csl::Index const &a,
56  csl::Index const &b
57  ) const;
58  GExpr chisholmIdentity2(
59  csl::Index const &mu,
60  csl::Index const &nu,
61  csl::Index const &a,
62  csl::Index const &b
63  ) const;
64  GExpr chisholmIdentity2A(
65  std::vector<csl::Index> const &rho,
66  csl::Index const &a,
67  csl::Index const &b
68  ) const;
69  GExpr chisholmIdentity2B(
70  std::vector<csl::Index> const &rho,
71  csl::Index const &nu,
72  csl::Index const &a,
73  csl::Index const &b
74  ) const;
75 
76  void print(std::ostream &out = std::cout) const override;
77  };
78 
79  GExpr epsilonindex_s(
80  csl::Index const &mu,
81  csl::Index const &nu,
82  csl::Index const &rho,
83  csl::Index const &sigma
84  );
85 
86 }
Definition: tensorset.h:30
csl::Expr mu
mu parameter.
Definition: MSSM.h:83
Definition: abstractgammasym.h:87
Definition: generalizedindex.h:29
Definition: abstractgammasym.h:32
Base class for indexed obejcts in SGL.
Definition: epsilonindex.h:29