62.70 DisplayCayleyTable for groups

DisplayCayleyTable( group )

DisplayCayleyTable prints the Cayley table of the group group. This function works the same way as for semigroups and near-rings: the dispatcher function DisplayCayleyTable calls group.op-er-a-tions.Display-Ta-ble which performs the printing.

  gap> g := Group( (1,2), (3,4) );       # this is Klein\'s four group  
  Group( (1,2), (3,4) )
  gap> DisplayCayleyTable( g );
  Let:
  g0 := ()
  g1 := (3,4)
  g2 := (1,2)
  g3 := (1,2)(3,4)

+

tt |
 g0 g1 g2 g3 
   ------------------
    g0 
tt |
 g0 g1 g2 g3 
    g1 
tt |
 g1 g0 g3 g2 
    g2 
tt |
 g2 g3 g0 g1 
    g3 
tt |
 g3 g2 g1 g0 

Previous Up Top Next
Index

GAP 3.4.4
April 1997