Cadabra
Computer algebra system for field theory problems
Loading...
Searching...
No Matches
Weight.hh
Go to the documentation of this file.
1
2#pragma once
3
5
6namespace cadabra {
7
8 class Weight : virtual public WeightBase {
9 public:
10 virtual multiplier_t value(const Kernel&, Ex::iterator, const std::string& forcedlabel) const override;
11 virtual bool parse(Kernel&, std::shared_ptr<Ex>, keyval_t&) override;
12 virtual std::string unnamed_argument() const override
13 {
14 return "value";
15 };
16 virtual std::string name() const override;
17 private:
19 };
20
21 }
websocketpp::client< websocketpp::config::asio_client > client
Definition ComputeThread.cc:15
Definition Kernel.hh:15
Definition WeightBase.hh:8
Definition Weight.hh:8
virtual multiplier_t value(const Kernel &, Ex::iterator, const std::string &forcedlabel) const override
Definition Weight.cc:20
virtual std::string unnamed_argument() const override
Definition Weight.hh:12
virtual bool parse(Kernel &, std::shared_ptr< Ex >, keyval_t &) override
Definition Weight.cc:11
virtual std::string name() const override
Definition Weight.cc:6
multiplier_t value_
Definition Weight.hh:18
Arguments to properties get parsed into a keyval_t structure.
Definition Props.hh:68
Functions to handle the exchange properties of two or more symbols in a product.
Definition Adjform.cc:83
mpq_class multiplier_t
Definition Storage.hh:38