Cadabra
Computer algebra system for field theory problems
vary.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Algorithm.hh"
6 
7 namespace cadabra {
8 
12 
13  class vary : public Algorithm {
14  public:
15  vary(const Kernel&, Ex& tr, Ex& args);
16 
17  virtual bool can_apply(iterator st) override;
18  virtual result_t apply(iterator&) override;
19 
20  private:
21  Ex& args;
22 
23  };
24 
25  }
cadabra::Algorithm::iterator
Ex::iterator iterator
Definition: Algorithm.hh:70
cadabra::Kernel
Definition: Kernel.hh:14
Algorithm.hh
cadabra::Ex::result_t
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:159
cadabra::vary::args
Ex & args
Definition: vary.hh:21
cadabra::Algorithm
Definition: Algorithm.hh:59
cadabra::Ex
Definition: Storage.hh:140
cadabra::vary::apply
virtual result_t apply(iterator &) override
Definition: vary.cc:52
cadabra::vary::vary
vary(const Kernel &, Ex &tr, Ex &args)
Definition: vary.cc:14
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:80
sort_product.hh
cadabra::Algorithm::tr
Ex & tr
Definition: Algorithm.hh:139
cadabra::vary
Definition: vary.hh:13
cadabra::vary::can_apply
virtual bool can_apply(iterator st) override
Definition: vary.cc:19