Cadabra
Computer algebra system for field theory problems
Loading...
Searching...
No Matches
Metric.hh
Go to the documentation of this file.
1
2#pragma once
3
4#include "Props.hh"
6
7namespace cadabra {
8
9 class Metric : public Symmetric, virtual public property {
10 public:
11 Metric();
12 virtual std::string name() const override;
13 virtual bool parse(Kernel&, keyval_t&) override;
14 virtual void validate(const Kernel&, const Ex&) const override;
15 virtual void latex(std::ostream&) const override;
16
18 };
19
20 }
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:142
Definition: Kernel.hh:15
Definition: Metric.hh:9
int signature
Definition: Metric.hh:17
virtual bool parse(Kernel &, keyval_t &) override
Definition: Metric.cc:20
Metric()
Definition: Metric.cc:7
virtual std::string name() const override
Definition: Metric.cc:15
virtual void validate(const Kernel &, const Ex &) const override
Definition: Metric.cc:29
virtual void latex(std::ostream &) const override
Display the property on the stream.
Definition: Metric.cc:35
Definition: Symmetric.hh:8
Arguments to properties get parsed into a keyval_t structure.
Definition: Props.hh:68
Base class for all properties, handling argument parsing and defining the interface.
Definition: Props.hh:127
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83