Skip to content

Commit

Permalink
Add index to conjugacy class knowl
Browse files Browse the repository at this point in the history
  • Loading branch information
jwj61 committed Aug 19, 2024
1 parent 72195f3 commit b88cdde
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lmfdb/galois_groups/transitive_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,14 +600,17 @@ def cclasses(n, t):
# return 'not computed'
html = """<div>
<table class="ntdata">
<thead><tr><td>Cycle Type</td><td>Size</td><td>Order</td><td>Representative</td></tr></thead>
<thead><tr><td>Cycle Type</td><td>Size</td><td>Order</td>
<td><a title = "' + index + ' [gg.index]" knowl="gg.index">Index</a></td>
<td>Representative</td></tr></thead>
<tbody>
"""
cc = group.conjclasses
for c in cc:
html += f'<tr><td>${c[3]}$</td>'
html += f'<td>${c[2]}$</td>'
html += f'<td>${c[1]}$</td>'
html += f'<td>${c[5]}$</td>'
html += f'<td>${c[0]}$</td>'
html += """</tr></tbody>
</table>
Expand Down

0 comments on commit b88cdde

Please sign in to comment.