Cadabra
Computer algebra system for field theory problems
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 
16 
17  std::string cdb2python(const std::string&, bool display);
18 
19  std::string cdb2python_string(const std::string&, bool display);
20 
26 
27  std::string convert_line(const std::string&, std::string& lhs, std::string& rhs, std::string& op, std::string& indent, bool display);
28 
36 
37  std::string cnb2python(const std::string&, bool display);
38  }
std::string convert_line(const std::string &, std::string &lhs, std::string &rhs, std::string &op, std::string &indent, bool display)
As above, but for a single line; for private use only.
Definition: CdbPython.cc:60
std::string cdb2python_string(const std::string &, bool display)
Definition: CdbPython.cc:45
Ex rhs(Ex_ptr ex)
Definition: py_ex.cc:305
std::string cnb2python(const std::string &, bool display)
Convert a Cadabra notebook file to pure Python.
Definition: CdbPython.cc:202
std::string cdb2python(const std::string &, bool display)
Convert a block of Cadabra notation into pure Python.
Definition: CdbPython.cc:18
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Algorithm.cc:1045
std::string escape_quotes(const std::string &)
Definition: CdbPython.cc:10
Ex lhs(Ex_ptr ex)
Definition: py_ex.cc:293
def display(obj, delay_send=False)
Generic display function which handles local as well as remote clients.
Definition: cadabra2_defaults.py:205