https://github.com/koffie/mdmagma
Revision 1278d3c8e8ebdbfd30da7616385001bef81ebf75 authored by Maarten Derickx on 04 October 2013, 13:34:00 UTC, committed by Maarten Derickx on 04 October 2013, 13:34:00 UTC
1 parent e3f30eb
Raw File
Tip revision: 1278d3c8e8ebdbfd30da7616385001bef81ebf75 authored by Maarten Derickx on 04 October 2013, 13:34:00 UTC
made it possible to specify the upperbound on the degree of the candidates to search for
Tip revision: 1278d3c
generate_candidates.m
Attach("X1_N_equations.m");
Attach("low_degree_places.m");
import "X1_N_equations.m" : equations;
Attach("assorted_functions.m");
import "assorted_functions.m" : Main2;
if assigned N then;
    N_int:=StringToInteger(N);
    if assigned d then;
        d_int := StringToInteger(N);
        cusp_sigs,candidates :=  Main2(N_int : d:=d_int, write_results_to_file := true);
    else;
        cusp_sigs,candidates :=  Main2(N_int : write_results_to_file := true);
    end if;
    PrintFile("data/cusp_signatures_" cat N, cusp_sigs : Overwrite:=true);
    PrintFile("data/candidates_" cat N, candidates : Overwrite:=true);
end if;
back to top