Cadabra
Computer algebra system for field theory problems
Toggle main menu visibility
Loading...
Searching...
No Matches
core
algorithms
vary.hh
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "
Algorithm.hh
"
5
#include "
algorithms/sort_product.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
}
Algorithm.hh
cadabra::Algorithm::Algorithm
Algorithm(const Kernel &, Ex &)
Initialise the algorithm with a reference to the expression tree, but do not yet do anything with thi...
Definition
Algorithm.cc:52
cadabra::Algorithm::result_t
Ex::result_t result_t
Definition
Algorithm.hh:65
cadabra::Ex
Definition
Storage.hh:170
cadabra::ExManip::tr
Ex & tr
Definition
ExManip.hh:44
cadabra::ExManip::iterator
Ex::iterator iterator
Definition
ExManip.hh:12
cadabra::Kernel
Definition
Kernel.hh:15
cadabra::vary::apply
virtual result_t apply(iterator &) override
Definition
vary.cc:54
cadabra::vary::args
Ex & args
Definition
vary.hh:21
cadabra::vary::vary
vary(const Kernel &, Ex &tr, Ex &args)
Definition
vary.cc:14
cadabra::vary::can_apply
virtual bool can_apply(iterator st) override
Definition
vary.cc:19
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition
Adjform.cc:83
sort_product.hh
Generated by
1.17.0