Commit graph

6 commits

Author SHA1 Message Date
Pascal
27d1877c3b equality tests 2016-10-08 22:46:00 +02:00
Pascal
f209d4307c add conrey index inside char 2016-10-08 22:46:00 +02:00
Pascal
4f9ef0f0c6 test characters 2016-10-08 22:46:00 +02:00
Pascal
583cbd4147 huge refactor
- split files, one for each function
- use acb_dirichlet prefix everywhere
- distinguish pairing / character value
+ fix bug on exponent
2016-10-08 22:45:59 +02:00
Pascal
7e0eac0d36 add next_primitive, first test on conrey elts 2016-10-08 22:45:58 +02:00
Pascal
46fa645910 [dirichlet] add conrey type to handle logs + char type
- try to handle even and odd components the same way in the dirichlet group

- switch from phi_q_odd to smaller expo = exponent of the group

  all character orders divide this number, and a character of that order exists

- use conrey logarithm to reuse log and to loop efficiently over the group

  (see the diff on l.c, only 1 log in computed instead of 2 * q)

- NOT TESTED, for the moment it just compiles, I know some errors
  (e.g. the FIXME in group_init.c : the generators have to be lifted mod q)
  this commit is just a proof of concept.
2016-10-08 22:45:58 +02:00