Cadabra
Computer algebra system for field theory problems
|
Object to handle advanced display in a UI-independent way.
@long 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 (self, data, typestr, parent_id, cell_id, last_in_sequence) |
def | architecture (self) |
def | test (self) |
def | handles (self, otype) |
def | totals (self) |
def cadabra2_defaults.Server.architecture | ( | self | ) |
def cadabra2_defaults.Server.handles | ( | self, | |
otype | |||
) |
def cadabra2_defaults.Server.send | ( | self, | |
data, | |||
typestr, | |||
parent_id, | |||
cell_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. If 'cell_id' is not 0, put the output in the cell with that id.
def cadabra2_defaults.Server.test | ( | self | ) |
def cadabra2_defaults.Server.totals | ( | self | ) |