Cadabra
Computer algebra system for field theory problems
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
CdbPython.hh File Reference
#include <string>

Go to the source code of this file.

Classes

class  cadabra::ConvertData
 Object to store pre-parsing intermediate results. More...
 

Namespaces

namespace  cadabra
 Functions to handle the exchange properties of two or more symbols in a product.
 

Functions

std::string cadabra::escape_quotes (const std::string &)
 
std::string cadabra::cdb2python (const std::string &, bool display)
 Convert a block of Cadabra notation into pure Python.
 
std::string cadabra::cdb2python_string (const std::string &, bool display)
 
int cadabra::is_python_code_complete (const std::string &, std::string &error)
 Test whether a block of Python code is complete or requires more input lines.
 
std::pair< std::string, std::string > cadabra::convert_line (const std::string &, ConvertData &cv, bool display)
 Detect Cadabra expression statements and rewrite to Python form.
 
std::string cadabra::cnb2python (const std::string &, bool for_standalone)
 Convert a Cadabra notebook file to pure Python.