Closed kalmarek closed 4 years ago
The function eigen_decomposition!
assumes that all eigenvalues of M
are in T
, or in other words, that the sum of dimensions of the left eigen spaces is equal to the dimension of M
.
In the example above p = 29
does not seem to meet this requirement. Using p = dixon_prime(ccG)
, which is p == 7
, the decomposition works.
but the algorithm should work over any prime, shouldn't it? what goes wrong in the case p=29
?
my bad, of course not: we need to have the appropriate root of unity in the field, hence exponent(G)
must divide p-1
, which in this case it does not: exponent(G) = 6
, hence 31
should work (it does).
throws