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  }
TableauInherit.hh
Symmetric.hh
cadabra::Trace
Definition: Trace.hh:13
cadabra::IndexInherit
Definition: IndexInherit.hh:9
cadabra::Trace::Trace
Trace()
Definition: Trace.cc:7
cadabra::Kernel
Definition: Kernel.hh:14
cadabra::Trace::unnamed_argument
virtual std::string unnamed_argument() const override
Definition: Trace.cc:16
cadabra::Trace::name
virtual std::string name() const override
Definition: Trace.cc:11
cadabra::Distributable
Definition: Distributable.hh:8
cadabra::NumericalFlat
Property indicating that an operator is numerically flat, so that numerical factors in the argument c...
Definition: NumericalFlat.hh:11
Distributable.hh
cadabra::TableauInherit
Definition: TableauInherit.hh:9
IndexInherit.hh
cadabra::property
FIXME: the above two need to be merged, because parse may need access to the actual pattern tree,...
Definition: Props.hh:126
cadabra::Ex
Definition: Storage.hh:140
cadabra::Trace::latex
virtual void latex(std::ostream &) const override
Display the property on the stream.
Definition: Trace.cc:36
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:80
cadabra::Trace::obj
Ex obj
Definition: Trace.hh:27
Props.hh
cadabra::Trace::parse
virtual bool parse(Kernel &, keyval_t &) override
Definition: Trace.cc:21
NumericalFlat.hh
cadabra::keyval_t
Arguments to properties get parsed into a keyval_t structure.
Definition: Props.hh:67
cadabra::Trace::index_set_name
std::string index_set_name
Definition: Trace.hh:28
cadabra::Trace::validate
virtual void validate(const Kernel &, const Ex &) const override
Definition: Trace.cc:32