Exemple #1
0
def render_isogeny_class(iso_class):
    credit = 'John Cremona'
    class_data = ECisog_class.by_label(iso_class)
    if class_data == "Invalid label":
        return elliptic_curve_jump_error(iso_class, {}, wellformed_label=False)
    if class_data == "Class not found":
        return elliptic_curve_jump_error(iso_class, {}, wellformed_label=True)
    class_data.modform_display = url_for(".modular_form_display", label=class_data.lmfdb_iso+"1", number="")

    return render_template("iso_class.html",
                           properties2=class_data.properties,
                           info=class_data,
                           bread=class_data.bread,
                           credit=credit,
                           title=class_data.title,
                           friends=class_data.friends,
                           downloads=class_data.downloads)
Exemple #2
0
def render_isogeny_class(iso_class):
    credit = 'John Cremona'
    class_data = ECisog_class.by_label(iso_class)
    if class_data == "Invalid label":
        return elliptic_curve_jump_error(iso_class, {}, wellformed_label=False)
    if class_data == "Class not found":
        return elliptic_curve_jump_error(iso_class, {}, wellformed_label=True)
    class_data.modform_display = url_for(".modular_form_display", label=class_data.lmfdb_iso+"1", number="")

    return render_template("iso_class.html",
                           properties2=class_data.properties,
                           info=class_data,
                           bread=class_data.bread,
                           credit=credit,
                           title=class_data.title,
                           friends=class_data.friends,
                           downloads=class_data.downloads)
Exemple #3
0
def render_isogeny_class(iso_class):
    class_data = ECisog_class.by_label(iso_class)
    if class_data == "Invalid label":
        return elliptic_curve_jump_error(iso_class, {}, invalid_class=True)
    if class_data == "Class not found":
        return elliptic_curve_jump_error(iso_class, {}, missing_class=True)
    class_data.modform_display = url_for(".modular_form_display", label=class_data.lmfdb_iso+"1", number="")

    return render_template("ec-isoclass.html",
                           properties=class_data.properties,
                           info=class_data,
                           code=class_data.code,
                           bread=class_data.bread,
                           title=class_data.title,
                           friends=class_data.friends,
                           KNOWL_ID="ec.q.%s"%iso_class,
                           downloads=class_data.downloads,
                           learnmore=learnmore_list())
Exemple #4
0
def render_isogeny_class(iso_class):
    class_data = ECisog_class.by_label(iso_class)
    if class_data == "Invalid label":
        return elliptic_curve_jump_error(iso_class, {}, wellformed_label=False)
    if class_data == "Class not found":
        return elliptic_curve_jump_error(iso_class, {}, wellformed_label=True, missing_curve=True)
    class_data.modform_display = url_for(".modular_form_display", label=class_data.lmfdb_iso+"1", number="")

    return render_template("ec-isoclass.html",
                           properties2=class_data.properties,
                           info=class_data,
                           code=class_data.code,
                           bread=class_data.bread,
                           credit=ec_credit(),
                           title=class_data.title,
                           friends=class_data.friends,
                           KNOWL_ID="ec.q.%s"%iso_class,
                           downloads=class_data.downloads,
                           learnmore=learnmore_list())