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(Kernel&, std::shared_ptr<Ex>) const override;
15 virtual void latex(std::ostream&) const override;
16
18 };
19
20 }
Definition Kernel.hh:15
Definition Metric.hh:9
int signature
Definition Metric.hh:17
virtual bool parse(Kernel &, keyval_t &) override
Definition Metric.cc:23
Metric()
Definition Metric.cc:10
virtual std::string name() const override
Definition Metric.cc:18
virtual void latex(std::ostream &) const override
Display the property on the stream.
Definition Metric.cc:53
virtual void validate(Kernel &, std::shared_ptr< Ex >) const override
Definition Metric.cc:32
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