Commit graph

8 commits

Author SHA1 Message Date
Pascal
8fe1993249 simple test for l functions 2016-10-08 22:46:01 +02:00
Pascal
17609d3777 char->order now nmod_t 2016-10-08 22:46:01 +02:00
Pascal
f7ac9d685f add theta functions 2016-10-08 22:46:00 +02:00
Pascal
320e35a53a change interface to switch acb / ui output 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
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
Fredrik Johansson
ecb70e7476 update copyright headers to switch from GPL to LGPL 2016-04-26 17:20:05 +02:00
Fredrik Johansson
1288b3d720 some documentation for Dirichlet characters 2016-02-23 01:18:07 +01:00