Commit graph

9 commits

Author SHA1 Message Date
Pascal
666db0a33f profile charevalvec 2016-10-08 22:45:58 +02:00
Pascal
2f40b276cd fix generators and test conrey elements 2016-10-08 22:45:58 +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
Fredrik Johansson
ecb70e7476 update copyright headers to switch from GPL to LGPL 2016-04-26 17:20:05 +02:00
Fredrik Johansson
8d7e82c3f6 tidying 2016-02-22 11:47:12 +01:00
Fredrik Johansson
9d79e3a391 initial code for Dirichlet characters (wip) 2016-02-21 23:23:51 +01:00
Fredrik Johansson
6e2fb6b5d1 Euler product for integer s and real characters (small modulus) 2016-02-16 02:55:12 +01:00
Fredrik Johansson
5804a8a947 acb_dirichlet: start of a module for Dirichlet L-functions (etc.) 2016-02-15 16:33:06 +01:00