Пример #1
0
def A(n):
    """"""
    assert 0 <= n

    if n == 0:
        return Group(0)

    return Group.schlafli(*[3] * (n - 1))
Пример #2
0
def E(n):
    """E_6, E_7, and E_8 Irreducible Coxeter Groups"""
    assert 6 <= n <= 8

    g = Group.schlafli(*[3] * (n - 2), 2)
    g[2, n - 1] = 3
    return g
Пример #3
0
def D(n):
    """Demicube Irreducible Coxeter Groups"""
    assert 4 <= n

    g = Group.schlafli(*[3] * (n - 2), 2)
    g[1, n - 1] = 3
    return g
Пример #4
0
def I2(n):
    """Polygon Irreducible Coxeter Groups"""
    assert 2 <= n

    return Group.schlafli(n)
Пример #5
0
def H(n):
    """Icosahedral Irreducible Coxeter Group"""
    assert 2 <= n <= 4

    return Group.schlafli(5, *[3] * (n - 2))
Пример #6
0
def G2():
    """G2 Irreducible Coxeter Group"""

    return Group.schlafli(6)
Пример #7
0
def F4():
    """24-cell Irreducible Coxeter Group"""

    return Group.schlafli(3, 4, 3)
Пример #8
0
def B(n):
    """Hypercube Irreducible Coxeter Group"""
    assert 2 <= n

    return Group.schlafli(4, *[3] * (n - 2))