45
45
Sage assumes that the command ``gap3`` is in your ``PATH``. If this is not
46
46
the case, then you can start GAP3 using the following command::
47
47
48
- sage: gap3 = Gap3(command='/usr/local/bin/gap3') # not tested
48
+ sage: gap3 = Gap3(command='/usr/local/bin/gap3') # not tested
49
49
50
50
Functionality and Examples
51
51
--------------------------
114
114
115
115
::
116
116
117
- sage: gap3.interact() # not tested
117
+ sage: gap3.interact() # not tested
118
118
119
119
--> Switching to Gap3 <--
120
120
121
121
gap3:
122
122
123
123
#. You can start a new GAP3 session as follows::
124
124
125
- sage: gap3.console() # not tested
125
+ sage: gap3.console() # not tested
126
126
127
127
######## Lehrstuhl D fuer Mathematik
128
128
### #### RWTH Aachen
150
150
151
151
#. The interface also has access to the GAP3 help system::
152
152
153
- sage: gap3.help('help', pager=False) # not tested
153
+ sage: gap3.help('help', pager=False) # not tested
154
154
Help _______________________________________________________...
155
155
156
156
This section describes together with the following sections the GAP
@@ -521,13 +521,13 @@ def cputime(self, t=None):
521
521
522
522
sage: # optional - gap3
523
523
sage: t = gap3.cputime()
524
- sage: t #random
524
+ sage: t # random
525
525
0.02
526
526
sage: gap3.SymmetricGroup(5).Size()
527
527
120
528
- sage: gap3.cputime() #random
528
+ sage: gap3.cputime() # random
529
529
0.14999999999999999
530
- sage: gap3.cputime(t) #random
530
+ sage: gap3.cputime(t) # random
531
531
0.13
532
532
"""
533
533
if t is not None :
@@ -541,7 +541,7 @@ def console(self):
541
541
542
542
EXAMPLES::
543
543
544
- sage: gap3.console() # not tested
544
+ sage: gap3.console() # not tested
545
545
546
546
######## Lehrstuhl D fuer Mathematik
547
547
### #### RWTH Aachen
@@ -886,7 +886,7 @@ def gap3_console():
886
886
887
887
EXAMPLES::
888
888
889
- sage: gap3.console() # not tested
889
+ sage: gap3.console() # not tested
890
890
891
891
######## Lehrstuhl D fuer Mathematik
892
892
### #### RWTH Aachen
0 commit comments