Cadabra
Computer algebra system for field theory problems
Toggle main menu visibility
Loading...
Searching...
No Matches
core
algorithms
first_order_form.hh
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "
Algorithm.hh
"
5
6
namespace
cadabra
{
7
12
13
class
first_order_form
:
public
Algorithm
{
14
public
:
15
first_order_form
(
const
Kernel
&,
Ex
& odes,
Ex
& funcs);
16
17
virtual
bool
can_apply
(
iterator
);
18
virtual
result_t
apply
(
iterator
&);
19
20
private
:
21
Ex
functions
;
22
23
// Location at which the above functions appear...
24
std::vector<Ex::iterator>
locations
;
25
// ... and the order of the derivative on these functions.
26
std::vector<int>
orders
;
27
};
28
29
}
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::iterator
Ex::iterator iterator
Definition
ExManip.hh:12
cadabra::Kernel
Definition
Kernel.hh:15
cadabra::first_order_form::can_apply
virtual bool can_apply(iterator)
Definition
first_order_form.cc:22
cadabra::first_order_form::first_order_form
first_order_form(const Kernel &, Ex &odes, Ex &funcs)
Definition
first_order_form.cc:16
cadabra::first_order_form::locations
std::vector< Ex::iterator > locations
Definition
first_order_form.hh:24
cadabra::first_order_form::functions
Ex functions
Definition
first_order_form.hh:21
cadabra::first_order_form::apply
virtual result_t apply(iterator &)
Definition
first_order_form.cc:42
cadabra::first_order_form::orders
std::vector< int > orders
Definition
first_order_form.hh:26
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition
Adjform.cc:83
Generated by
1.17.0