コード例 #1
0
def vis_S3_cross_Z3():
    cf = Permutation.read_cycle_form
    a = cf([[4, 5]], 6)
    b = cf([[5, 6]], 6)
    c = cf([[1, 2, 3]], 6)
    G = PermGroup([a, b, c])
    oG = OrbitGraph(G, (4, 2))
    draw_orbit_graph(oG)
コード例 #2
0
def vis_cyclic6():
    b = Permutation.read_cycle_form([[1, 2, 3, 4, 5, 6]], 6)
    G = PermGroup([b])
    oG = OrbitGraph(G, (2, 5))
    draw_orbit_graph(oG)
コード例 #3
0
def vis_klien4():
    a = Permutation.read_cycle_form([[1, 2], [3, 4]], 4)
    b = Permutation.read_cycle_form([[1, 3], [2, 4]], 4)
    G = PermGroup([a, b])
    oG = OrbitGraph(G, (1, 2))
    draw_orbit_graph(oG)