PrintToCAS( filename, tbl )
PrintToCAS( tbl, filename )
produces a file with name filename which contains a CAS library table
of the GAP character table tbl; this file can be read into CAS
using the get
-command (see~NPP84).
The line length in the file is at most the current value SizeScreen()[1]
(see SizeScreen).
Only the components identifier
, text
, order
, centralizers
,
orders
, print
, powermap
, classtext
(for partitions only),
fusions
, irredinfo
, characters
, irreducibles
of tbl are
considered.
If tbl.characters
is bound, this list is taken as characters
entry
of the CAS table, otherwise tbl.irreducibles
(if exists) will form
the list characters
of the CAS table.
gap> PrintToCAS( "c2", CharTable( "Cyclic", 2 ) );
produces a file with name c2
containing the following data:
'C2' 00/00/00. 00.00.00. (2,2,0,2,-1,0) text: (#computed using generic character table for cyclic groups#), order=2, centralizers:(2,2), reps:(1,2), powermap:2(1,1), characters: (1,1) (1,-1); /// converted from GAP
GAP 3.4.4