Cadabra
Computer algebra system for field theory problems
CommutingBehaviour.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Props.hh"
5 
6 namespace cadabra {
7 
8  class CommutingBehaviour : virtual public list_property {
9  public:
10  virtual int sign() const=0;
11  virtual match_t equals(const property *) const;
12  };
13 
14  }
cadabra::list_property
Something cannot be both a list property and a normal property at the same time, so we can safely inh...
Definition: Props.hh:193
cadabra::property
FIXME: the above two need to be merged, because parse may need access to the actual pattern tree,...
Definition: Props.hh:127
cadabra::CommutingBehaviour
Definition: CommutingBehaviour.hh:8
Props.hh
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
cadabra::CommutingBehaviour::sign
virtual int sign() const =0
cadabra::CommutingBehaviour::equals
virtual match_t equals(const property *) const
Definition: CommutingBehaviour.cc:6
cadabra::property::match_t
match_t
Definition: Props.hh:170