Cadabra
Computer algebra system for field theory problems
|
Object to handle advanced display in a UI-independent way.
Cadabra makes available to Python a Server object, which contains functions to send output to the user. When running from the command line this simply prints to the screen, but it can talk to a remote client to display images and maths.
Public Member Functions | |
def | send |
def | architecture |
def | test |
def | handles |
Public Member Functions inherited from ProgressMonitor | |
ProgressMonitor () | |
virtual | ~ProgressMonitor () |
virtual void | group (std::string name="") |
virtual void | progress (int n, int total) |
void | print () const |
std::vector< Total > | totals () const |
def cadabra2_defaults.Server.architecture | ( | self | ) |
def cadabra2_defaults.Server.handles | ( | self, | |
otype | |||
) |
def cadabra2_defaults.Server.send | ( | self, | |
data, | |||
typestr, | |||
parent_id, | |||
last_in_sequence | |||
) |
Send a message to the client; 'typestr' indicates the cell type, 'parent_id', if non-null, indicates the serial number of the parent cell.
def cadabra2_defaults.Server.test | ( | self | ) |