43.6 Saving a Pc Group

As printing a polycyclic group does not display the presentation, one cannot simply print a pc group to a file to save it. For this purpose we need the following function.

  • GapInputPcGroup( grp, string ) F

    gap> G := SmallGroup( 24, 12 );
    <pc group of size 24 with 4 generators>
    gap> PrintTo( "save", GapInputPcGroup( G, "H" ) );
    gap> Read( "save" );
    #I A group of order 24 has been defined.
    #I It is called H
    gap> H = G;
    false
    gap> IdGroup( H ) = IdGroup( G );
    true
    

    [Top] [Previous] [Up] [Next] [Index]

    GAP 4 manual
    February 2000