Exemplo n.º 1
0
def conjstringideal(F,stridl,g):
    """Given a string representing an ideal of F and an automorpism g of F,
    return the string representing the conjugate ideal.
    """
    N,n,_,gen = str2ideal(F,stridl)
    return '[' + str(N) + ',' + str(n) + ',' + str(g(gen)) + ']'
Exemplo n.º 2
0
def make_conductor(ecnfdata, hfield):
    _, _, I, _ = str2ideal(hfield.K(), ecnfdata['conductor_ideal'])
    return I
Exemplo n.º 3
0
def conjstringideal(F, stridl, g):
    """Given a string representing an ideal of F and an automorpism g of F,
    return the string representing the conjugate ideal.
    """
    N, n, _, gen = str2ideal(F, stridl)
    return '[' + str(N) + ',' + str(n) + ',' + str(g(gen)) + ']'
Exemplo n.º 4
0
def make_conductor(ecnfdata, hfield):
    _, _, I, _ = str2ideal(hfield.K(), ecnfdata['conductor_ideal'])
    return I