Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

swh:1:snp:2a0cc3482837348ba58da8208c75bab58426d27e
  • Code
  • Branches (3)
  • Releases (0)
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/heads/patch-1
    • refs/tags/v0.1.0
    No releases to show
  • 6cabcdb
  • /
  • generate_candidates.m
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
content badge Iframe embedding
swh:1:cnt:1e07354c3620f5b16eb3cd68d4da849a237cc26b
directory badge Iframe embedding
swh:1:dir:6cabcdbbecaf6447c0138c3e9b1dfeac3ce95f9f
revision badge
swh:1:rev:f69d0e06f67b9ac6f57e7d8e6ba3b3d69e650352
snapshot badge
swh:1:snp:2a0cc3482837348ba58da8208c75bab58426d27e
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: f69d0e06f67b9ac6f57e7d8e6ba3b3d69e650352 authored by Maarten Derickx on 02 November 2020, 22:43:35 UTC
Quickly lists all non cuspidal places up to diamond operators on X_1(N)
Tip revision: f69d0e0
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;

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top