47.12 DisplayTom

DisplayTom( tom )

DisplayTom produces a formatted output for the table of marks tom. Each line of output begins with the number of the corresponding class of subgroups. This number is repeated if the output spreads over several pages.

    gap> DisplayTom( a5 );
    1:  60
    2:  30 2
    3:  20 . 2
    4:  15 3 . 3
    5:  12 . . . 2
    6:  10 2 1 . . 1
    7:   6 2 . . 1 . 1
    8:   5 1 2 1 . . . 1
    9:   1 1 1 1 1 1 1 1 1 

DisplayTom( tom, arec )

In this form DisplayTom takes a record arec as an additional parameter. If this record has a component classes which contains a list of class numbers then only the rows and columns of the matrix corresponding to this list are printed.

    gap> DisplayTom( a5, rec( classes := [ 1, 2, 3, 4, 8 ] ) );
    1:  60
    2:  30 2
    3:  20 . 2
    4:  15 3 . 3
    8:   5 1 2 1 1 

The record arec may also have a component form which enables the printing of tables of numbers of subgroups. If arec.form has the value "subgroups" then at position (i,j) the number of conjugates of H_j contained in H_i will be printed. If it has the value "supergroups" then at position (i,j) the number of conjugates of H_i which contain H_j will be printed.

    gap> DisplayTom( a5, rec( form := "subgroups" ) );
    1:  1
    2:  1  1
    3:  1  .  1
    4:  1  3  . 1
    5:  1  .  . . 1
    6:  1  3  1 . .  1
    7:  1  5  . . 1  . 1
    8:  1  3  4 1 .  . . 1
    9:  1 15 10 5 6 10 6 5 1
    
    gap> DisplayTom( a5, rec( form := "supergroups" ) );
    1:   1
    2:  15 1
    3:  10 . 1
    4:   5 1 . 1
    5:   6 . . . 1
    6:  10 2 1 . . 1
    7:   6 2 . . 1 . 1
    8:   5 1 2 1 . . . 1
    9:   1 1 1 1 1 1 1 1 1 

Previous Up Top Next
Index

GAP 3.4.4
April 1997