コード例 #1
0
ファイル: check_conjugates.py プロジェクト: paulhus/lmfdb
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)) + ']'
コード例 #2
0
ファイル: hmf_check_find.py プロジェクト: qfizik/lmfdb
def make_conductor(ecnfdata, hfield):
    _, _, I, _ = str2ideal(hfield.K(), ecnfdata['conductor_ideal'])
    return I
コード例 #3
0
ファイル: check_conjugates.py プロジェクト: akoutsianas/lmfdb
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)) + ']'
コード例 #4
0
ファイル: hmf_check_find.py プロジェクト: LMFDB/lmfdb
def make_conductor(ecnfdata, hfield):
    _, _, I, _ = str2ideal(hfield.K(), ecnfdata['conductor_ideal'])
    return I