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

Public Member Functions

 CSLExpr (csl::Expr const &expr)
 
bool isZero () const override
 
csl::Expr const & expr () const override
 
csl::Exprexpr () override
 
bool contains (csl::Index const &) const override
 
void replace (csl::Index const &, csl::Index const &) override
 
csl::Expr toCSL (TensorSet const &) const override
 
csl::Expr getFactor () const override
 
GExpr getTerm () const override
 
GExpr copy () const override
 
GExpr refresh () const override
 
void print (std::ostream &out) const 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
virtual bool hasPropertyWith (GExpr const &other) const
 
virtual GExpr propertyWith (GExpr const &other) const
 
GExpr self ()
 
virtual GExpr simplify ()
 
virtual std::vector< csl::Index > const & indices () const
 
virtual std::vector< csl::Index > & indices ()
 
void errorPrint () const
 

Private Attributes

csl::Expr m_expr
 

Additional Inherited Members

- Public Types inherited from sgl::AbstractGammaSym
using iterator = std::vector< GExpr >::iterator
 
using const_iterator = std::vector< GExpr >::const_iterator
 

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