Cadabra
Computer algebra system for field theory problems
Loading...
Searching...
No Matches
first_order_form.hh
Go to the documentation of this file.
1
2#pragma once
3
4#include "Algorithm.hh"
5
6namespace 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:
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(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
Ex::result_t result_t
Definition Algorithm.hh:65
Definition Storage.hh:170
Ex::iterator iterator
Definition ExManip.hh:12
Definition Kernel.hh:15
virtual bool can_apply(iterator)
Definition first_order_form.cc:22
first_order_form(const Kernel &, Ex &odes, Ex &funcs)
Definition first_order_form.cc:16
std::vector< Ex::iterator > locations
Definition first_order_form.hh:24
Ex functions
Definition first_order_form.hh:21
virtual result_t apply(iterator &)
Definition first_order_form.cc:42
std::vector< int > orders
Definition first_order_form.hh:26
Functions to handle the exchange properties of two or more symbols in a product.
Definition Adjform.cc:83