Implements various DFTs for the cyclic group and symmetric group. We work over the complex numbers, finite fields, and number fields.
For finite fields, when
For finite fields, when
For unitary representations of the symmetric group over finite fields, we compute an
Over number fields, we follow the same pattern and multiply by the conjugate transpose to get a diagonal matrix. Then we compute a number field which contains all square roots of those elements, and then take square roots along the diagonal, and multiply by the inverse of the resulting diagonal matrix.