Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from JohnCremona/master
Add Statistics page for elliptic curves
- Loading branch information
Showing
3 changed files
with
287 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
{% extends 'homepage.html' %} | ||
{% block content %} | ||
|
||
<div> | ||
The database currently contains the Cremona database of all | ||
{{info.ncurves}} elliptic curves in {{info.nclasses}} isogeny classes, | ||
with {{ KNOWL('ec.q.conductor',title = "conductor")}} at most | ||
{{info.max_N}}, all of which have {{ KNOWL('ec.q.rank', | ||
title="rank")}} ≤ {{info.max_rank}}. | ||
</div> | ||
|
||
<h2> Distribution of rank </h2> | ||
<div> | ||
<table border=1> | ||
<tr> | ||
<th>Rank</th> | ||
{%for rc in info.rank_counts %} | ||
<td>{{rc.r}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>number of curves</th> | ||
{%for rc in info.rank_counts %} | ||
<td>{{rc.ncurves}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>number of isogeny classes</th> | ||
{%for rc in info.rank_counts %} | ||
<td>{{rc.nclasses}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>proportion</th> | ||
{%for rc in info.rank_counts %} | ||
<td>{{rc.prop}}%</td> | ||
{% endfor %} | ||
</tr> | ||
</table> | ||
</div> | ||
|
||
<h2> Distribution of torsion </h2> | ||
<div> | ||
<table border=1> | ||
<tbody> | ||
<tr> | ||
<th>Torsion structure</th> | ||
{%for tc in info.tor_counts[:11] %} | ||
<td>{{tc.gp}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>Torsion order</th> | ||
{%for tc in info.tor_counts[:11] %} | ||
<td>{{tc.t}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>number of curves</th> | ||
{%for tc in info.tor_counts[:11] %} | ||
<td>{{tc.ncurves}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>proportion</th> | ||
{%for tc in info.tor_counts[:11] %} | ||
<td>{{tc.prop}}%</td> | ||
{% endfor %} | ||
</tr> | ||
</tbody> | ||
<tr> | ||
<td style="border-left:none; border-right:none; border-top:none; border-bottom:none;"> </td> | ||
</tr> | ||
<tbody> | ||
<tr> | ||
<th>Torsion structure</th> | ||
<td colspan=3 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[11:12] %} | ||
<td>{{tc.gp}}</td> | ||
{% endfor %} | ||
<td colspan=3 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[12:13] %} | ||
<td>{{tc.gp}}</td> | ||
{% endfor %} | ||
<td colspan=2 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[13:] %} | ||
<td>{{tc.gp}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>Torsion order</th> | ||
<td colspan=3 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[11:12] %} | ||
<td>{{tc.t}}</td> | ||
{% endfor %} | ||
<td colspan=3 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[12:13] %} | ||
<td>{{tc.t}}</td> | ||
{% endfor %} | ||
<td colspan=2 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[13:] %} | ||
<td>{{tc.t}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>number of curves</th> | ||
<td colspan=3 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[11:12] %} | ||
<td>{{tc.ncurves}}</td> | ||
{% endfor %} | ||
<td colspan=3 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[12:13] %} | ||
<td>{{tc.ncurves}}</td> | ||
{% endfor %} | ||
<td colspan=2 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[13:] %} | ||
<td>{{tc.ncurves}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>proportion</th> | ||
<td colspan=3 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[11:12] %} | ||
<td>{{tc.prop}}%</td> | ||
{% endfor %} | ||
<td colspan=3 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[12:13] %} | ||
<td>{{tc.prop}}%</td> | ||
{% endfor %} | ||
<td colspan=2 style="border-bottom:none; border-top:none;"> </td> | ||
{%for tc in info.tor_counts[13:] %} | ||
<td>{{tc.prop}}%</td> | ||
{% endfor %} | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<h2> Distribution of {{KNOWL('ec.q.analytic_sha_order', | ||
title='Ш\(_{an} \)') }} </h2> | ||
<div> | ||
<table border=1> | ||
<tr> | ||
<th>Ш\(_{an} \)</th> | ||
{%for sc in info.sha_counts[:12] %} | ||
<td>\({{sc.s}}^2\)</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>number of curves</th> | ||
{%for sc in info.sha_counts[:12] %} | ||
<td>{{sc.ncurves}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<td style="border-left:none; border-right:none;" colspan=13> </td> | ||
</tr> | ||
<tr> | ||
<th>Ш\(_{an} \)</th> | ||
{%for sc in info.sha_counts[12:24] %} | ||
<td>\({{sc.s}}^2\)</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>number of curves</th> | ||
{%for sc in info.sha_counts[12:24] %} | ||
<td>{{sc.ncurves}}</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<td style="border-left:none; border-right:none;" colspan=10> </td> | ||
<td style="border-left:none; border-right:none; border-bottom:none;" colspan=3> </td> | ||
</tr> | ||
<tr> | ||
<th>Ш\(_{an} \)</th> | ||
{%for sc in info.sha_counts[24:] %} | ||
<td>\({{sc.s}}^2\)</td> | ||
{% endfor %} | ||
</tr> | ||
<tr> | ||
<th>number of curves</th> | ||
{%for sc in info.sha_counts[24:] %} | ||
<td>{{sc.ncurves}}</td> | ||
{% endfor %} | ||
</tr> | ||
</table> | ||
</div> | ||
|
||
<p> | ||
</p> | ||
|
||
{% endblock %} | ||
</html> |