Hi all, I am attempting to move some code from symmetric_group_algebra to symmetric_group_representations. We are constructing a unitary DFT for S_n over F_{q^2} and number fields, and an intermediate step was constructing unitary rep'ns. There's an alternate way to construct the unitary DFT which bypasses creating unitary rep'ns, but I think it makes sense to move the code to symmetric_group_representations.
https://github.com/sagemath/sage/pull/38455 I'd like to create a class called UnitaryRepresentation which extends SymmetricGroupRepresentation_generic_class which does two things: 1. returns the orthogonal rep'n in the characteristic zero case since these rep'ns are real, so they are also unitary 2. conjugates the 'specht' rep'n by the appropriate change-of-basis matrix A The tests are currently failing, and it seems to have something to do with caching. I'm not entire sure how this works, and just copied the format from SpechtRepresentation. It may even make more sense to extend one of these classes. Error: Failed example:: Exception raised: <https://github.com/sagemath/sage/actions/runs/12271264502/job/34237850309?pr=38455#step:16:102>Traceback (most recent call last): <https://github.com/sagemath/sage/actions/runs/12271264502/job/34237850309?pr=38455#step:16:103> File "sage/misc/cachefunc.pyx", line 1953, in sage.misc.cachefunc.CachedMethodCaller.__call__ <https://github.com/sagemath/sage/actions/runs/12271264502/job/34237850309?pr=38455#step:16:104> return cache[k] <https://github.com/sagemath/sage/actions/runs/12271264502/job/34237850309?pr=38455#step:16:105>KeyError: (([3, 2, 1, 4],), ()) Any help would be greatly appreciated. Thanks, Jackson -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/6d06760e-8fe8-42b5-8243-be86da31cc9en%40googlegroups.com.