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  }
Base class for all algorithms, containing generic routines and in particular the logic for index clas...
Definition: Algorithm.hh:59
Ex::iterator iterator
Definition: Algorithm.hh:70
Ex & tr
Definition: Algorithm.hh:151
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:142
result_t
Keeping track of what algorithms have done to this expression.
Definition: Storage.hh:164
Definition: Kernel.hh:15
Generic variational derivative algorithm.
Definition: vary.hh:13
virtual result_t apply(iterator &) override
Definition: vary.cc:54
Ex & args
Definition: vary.hh:21
vary(const Kernel &, Ex &tr, Ex &args)
Definition: vary.cc:14
virtual bool can_apply(iterator st) override
Definition: vary.cc:19
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83