Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SympyCdb.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Props.hh"
5 #include "Storage.hh"
6 #include "Kernel.hh"
7 #include "Stopwatch.hh"
8 
9 namespace sympy {
10 
16 
17 // cadabra::Ex* map_sympy(const cadabra::Kernel&, cadabra::Ex&,
18 // const std::vector<std::string>& wrap, const std::string& args, const std::string& method);
19 
26 
27  cadabra::Ex::iterator apply(const cadabra::Kernel&, cadabra::Ex&, cadabra::Ex::iterator&,
28  const std::vector<std::string>& wrap, const std::string& args, const std::string& method);
29 
30 // /// \ingroup scalar
31 // ///
32 // /// Low-level function to feed a string to Python and read the result back in
33 // /// as a Cadabra Ex. As compared to 'apply' above, this starts from a string rather
34 // /// than an Ex, and hence gives more flexibility in constructing input.
35 //
36 // Ex python(Kernel&, Ex&, Ex::iterator&, const std::string& head, const std::string& args);
37 
38 
44 
46 
47 // extern Stopwatch sympy_stopwatch;
48 
49 };
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:130
cadabra::Ex::iterator apply(const cadabra::Kernel &, cadabra::Ex &, cadabra::Ex::iterator &, const std::vector< std::string > &wrap, const std::string &args, const std::string &method)
Functionality to act with Sympy on all scalar parts of an expression, and keep the result in-place...
Definition: SympyDummy.cc:9
cadabra::Ex invert_matrix(const cadabra::Kernel &, cadabra::Ex &ex, cadabra::Ex &rules)
Use Sympy to invert a matrix, given a set of rules determining its sparse components.
Definition: SympyDummy.cc:53
Definition: Kernel.hh:15