Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CdbPython.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <string>
5 
6 namespace cadabra {
7 
8  std::string escape_quotes(const std::string&);
9 
10  // Convert a block of Cadabra notation into pure Python. Mimics
11  // the functionality in the python script 'cadabra2'
12 
13  std::string cdb2python(const std::string&);
14 
15  // As above, but for a single line; for private use only.
16 
17  std::string convert_line(const std::string&, std::string& lhs, std::string& rhs, std::string& indent);
18 
19 }
Ex rhs(const Ex &ex)
Definition: PythonCdb.cc:219
Ex lhs(const Ex &ex)
Definition: PythonCdb.cc:207
std::string cdb2python(const std::string &)
Definition: CdbPython.cc:15
std::string escape_quotes(const std::string &)
Definition: CdbPython.cc:6
std::string convert_line(const std::string &, std::string &lhs, std::string &rhs, std::string &indent)
Definition: CdbPython.cc:30