Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions | Variables
cadabra2_defaults.py File Reference

Cadabra2 pure Python functionality. More...

Classes

class  cadabra2_defaults.Sympy
 Stub object for when Sympy itself is not available. More...
 
class  cadabra2_defaults.Server
 Object to handle advanced display in a UI-independent way. More...
 

Namespaces

 cadabra2_defaults
 

Functions

def cadabra2_defaults.display
 Generic display function which handles local as well as remote clients. More...
 
def cadabra2_defaults._displayhook
 
def cadabra2_defaults.post_process
 

Variables

 cadabra2_defaults.__cdbkernel__ = cadabra2.__cdbkernel__
 
string cadabra2_defaults.mopen = "\\begin{dmath*}{}"
 
string cadabra2_defaults.mclose = "\\end{dmath*}"
 
 cadabra2_defaults.have_matplotlib = True
 
 cadabra2_defaults.remember_display_hook = sys.displayhook
 

Detailed Description

Cadabra2 pure Python functionality.

This is a pure-python initialisation script to set the path to sympy and setup printing of Cadabra expressions. This script is called both by the command line interface 'cadabra2' as well as by the GUI backend server 'cadabra-server'.