Cadabra
Computer algebra system for field theory problems
Public Member Functions | List of all members
cadabra2_defaults.Server Class Reference

Description

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)
 

Member Function Documentation

◆ architecture()

def cadabra2_defaults.Server.architecture (   self)

◆ handles()

def cadabra2_defaults.Server.handles (   self,
  otype 
)

◆ send()

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.

◆ test()

def cadabra2_defaults.Server.test (   self)

◆ totals()

def cadabra2_defaults.Server.totals (   self)

The documentation for this class was generated from the following file: