swh:1:snp:e69952b3901aec538b122ef9c4d0ac0702cf4353
Raw File
Tip revision: a9827241a890603ba5329b0db8b5f26d7c84a0f6 authored by Maarten Derickx on 07 September 2016, 15:02:17 UTC
Update README.md
Tip revision: a982724
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(d);
        cusp_sigs,candidates :=  Main2(N_int : d:=d_int, write_results_to_file := false);
    else;
        cusp_sigs,candidates :=  Main2(N_int : write_results_to_file := false);
    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