Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
Public Member Functions
sgl::MetricIndex Class Reference
Inheritance diagram for sgl::MetricIndex:
[legend]

Public Member Functions

 MetricIndex (csl::Index const &a, csl::Index const &b)
 
bool isZero () const override
 
GExpr copy () const override
 
GExpr refresh () const override
 
csl::Expr toCSL (TensorSet const &) const override
 
csl::Expr getFactor () const override
 
GExpr getTerm () const override
 
bool hasPropertyWith (GExpr const &other) const override
 
GExpr propertyWith (GExpr const &other) const override
 
void print (std::ostream &out=std::cout) const override
 
- Public Member Functions inherited from sgl::AbstractGeneralizedIndex
 AbstractGeneralizedIndex (csl::Index const &t_index)
 
 AbstractGeneralizedIndex (std::vector< csl::Index > const &t_indices)
 
bool hasSelfContraction () const
 
void printIndices (std::ostream &out, char sep) const
 
std::vector< csl::Index > const & indices () const override
 
std::vector< csl::Index > & indices () override
 
bool contains (csl::Index const &index) const override
 
void replace (csl::Index const &i, csl::Index const &j) override
 
- Public Member Functions inherited from sgl::AbstractLiteral
size_t size () const override
 
GExpr const & argument (size_t i) const override
 
GExprargument (size_t i) override
 
iterator begin () override
 
const_iterator begin () const override
 
iterator end () override
 
const_iterator end () const override
 
- Public Member Functions inherited from sgl::AbstractGammaSym
GExpr self ()
 
virtual GExpr simplify ()
 
virtual csl::Expr const & expr () const
 
virtual csl::Exprexpr ()
 
void errorPrint () const
 

Additional Inherited Members

- Public Types inherited from sgl::AbstractGammaSym
using iterator = std::vector< GExpr >::iterator
 
using const_iterator = std::vector< GExpr >::const_iterator
 
- Protected Attributes inherited from sgl::AbstractGeneralizedIndex
std::vector< csl::Indexm_indices
 

The documentation for this class was generated from the following files: