Cadabra
Computer algebra system for field theory problems
Trace.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Props.hh"
10 
11 namespace cadabra {
12 
13  class Trace :
14  public Distributable,
15  public IndexInherit,
16  public TableauInherit,
17  public NumericalFlat,
18  virtual public property {
19  public:
20  Trace();
21  virtual std::string name() const override;
22  virtual std::string unnamed_argument() const override;
23  virtual bool parse(Kernel&, keyval_t&) override;
24  virtual void validate(const Kernel&, const Ex&) const override;
25  virtual void latex(std::ostream&) const override;
26 
28  std::string index_set_name; // refers to Indices::set_name
29  };
30 
31  }
IndexInherit.hh
Symmetric.hh
cadabra::Distributable
Definition: Distributable.hh:8
cadabra::Trace::validate
virtual void validate(const Kernel &, const Ex &) const override
Definition: Trace.cc:32
cadabra::Kernel
Definition: Kernel.hh:15
cadabra::Trace::Trace
Trace()
Definition: Trace.cc:7
cadabra::Trace::parse
virtual bool parse(Kernel &, keyval_t &) override
Definition: Trace.cc:21
cadabra::Trace
Definition: Trace.hh:13
cadabra::Trace::index_set_name
std::string index_set_name
Definition: Trace.hh:28
cadabra::Trace::obj
Ex obj
Definition: Trace.hh:27
cadabra::Trace::name
virtual std::string name() const override
Definition: Trace.cc:11
NumericalFlat.hh
cadabra::NumericalFlat
Property indicating that an operator is numerically flat, so that numerical factors in the argument c...
Definition: NumericalFlat.hh:11
cadabra::property
FIXME: the above two need to be merged, because parse may need access to the actual pattern tree,...
Definition: Props.hh:127
Props.hh
Distributable.hh
cadabra::TableauInherit
Property which makes a node inherit the TableauBase properties of child nodes.
Definition: TableauInherit.hh:14
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
cadabra::Ex
Definition: Storage.hh:141
cadabra::keyval_t
Arguments to properties get parsed into a keyval_t structure.
Definition: Props.hh:68
cadabra::Trace::latex
virtual void latex(std::ostream &) const override
Display the property on the stream.
Definition: Trace.cc:36
cadabra::Trace::unnamed_argument
virtual std::string unnamed_argument() const override
Definition: Trace.cc:16
TableauInherit.hh
cadabra::IndexInherit
Definition: IndexInherit.hh:9