From 33cc0f2fe8f41163019ec34d44e09a6450cb999c Mon Sep 17 00:00:00 2001 From: queue-miscreant Date: Sat, 19 Jul 2025 18:29:06 -0500 Subject: [PATCH] add missing root to exponential graph --- posts/permutations/2/graph_data/base.py | 7 +++++-- posts/permutations/2/graph_data/complete.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/posts/permutations/2/graph_data/base.py b/posts/permutations/2/graph_data/base.py index c09168e..d08e1d1 100644 --- a/posts/permutations/2/graph_data/base.py +++ b/posts/permutations/2/graph_data/base.py @@ -12,9 +12,12 @@ def display_integral_root( + ("\\pm" if root != 0 else "") + str(root) + ")^{" - + str(multiplicity) # pad multiplicity - + ("\\phantom{" + ("0" * pad_to) + "}" if pad_to is not None else "") + + (("\\phantom{" + ("0" * (pad_to - len(str(multiplicity))) + "}")) + if pad_to is not None and len(str(multiplicity)) < pad_to + else "" + ) + + str(multiplicity) + "}" ) diff --git a/posts/permutations/2/graph_data/complete.py b/posts/permutations/2/graph_data/complete.py index fc5439b..3726897 100644 --- a/posts/permutations/2/graph_data/complete.py +++ b/posts/permutations/2/graph_data/complete.py @@ -58,7 +58,6 @@ data = { ] ), ), - # TODO: missing a root (and its negative) of multiplicity 400 8: GraphData( vertex_count=40320, spectrum=SymmetricSpectrum( @@ -70,6 +69,7 @@ data = { (8, 196), (10, 784), (12, 441), + (14, 400), (20, 49), (28, 1), ]