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"
9 
10 namespace cadabra {
11 
12  class Trace : public Distributable, public IndexInherit, public NumericalFlat, virtual public property {
13  public:
14  Trace();
15  virtual std::string name() const override;
16  virtual std::string unnamed_argument() const override;
17  virtual bool parse(Kernel&, keyval_t&) override;
18  virtual void validate(const Kernel&, const Ex&) const override;
19  virtual void latex(std::ostream&) const override;
20 
22  std::string index_set_name; // refers to Indices::set_name
23  };
24 
25  }
Symmetric.hh
cadabra::Trace
Definition: Trace.hh:12
cadabra::IndexInherit
Definition: IndexInherit.hh:8
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
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:120
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: Algorithm.cc:1045
cadabra::Trace::obj
Ex obj
Definition: Trace.hh:21
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:61
cadabra::Trace::index_set_name
std::string index_set_name
Definition: Trace.hh:22
cadabra::Trace::validate
virtual void validate(const Kernel &, const Ex &) const override
Definition: Trace.cc:32