15.1.1.1 GAP Objects

class GAP
GAP( [maxread=True], [script_subdirectory=user], [use_workspace_cache=10000])

Instances of class GAP have the following methods (in addition to inherited methods and special methods):

clear,$  $ get,$  $ set

Further documentation:

clear( var)

Clear the variable named var.

get( var)

Get the value of the variable var.

set( var, value)

Set the variable var to the given value.

Instances of class GAP also have the following special methods:

__call__,$  $ _start

Further documentation:

__call__( x, [newlines=True])

Send the code in the string s to the GAP interpreter and return the output as a string.

INPUT:
    s -- string containing GAP code.
    newlines -- bool (default: True); if False, remove all
              backslash-newlines inserted by the GAP output formatter.

See About this document... for information on suggesting changes.