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:
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}
Base class for all algorithms, containing generic routines and in particular the logic for index clas...
Definition Algorithm.hh:54
Definition Storage.hh:170
result_t
Keeping track of what algorithms have done to this expression.
Definition Storage.hh:200
Ex::iterator iterator
Definition ExManip.hh:12
Definition Kernel.hh:15
Transform a (system of) higher order ODEs to first order, and ensure that the derivatives are on the ...
Definition first_order_form.hh:13
virtual bool can_apply(iterator)
Definition first_order_form.cc:22
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
void set(rset_t::iterator &num, multiplier_t fac)
Definition Storage.cc:1179