Commit graph

19 commits

Author SHA1 Message Date
Pascal
f488a8b034 huge refactor
- split files, one for each function
- use acb_dirichlet prefix everywhere
- distinguish pairing / character value
+ fix bug on exponent
2016-09-06 14:32:00 +02:00
Pascal
34969d1145 move discrete log to dlog dir 2016-09-06 14:24:01 +02:00
Pascal
636bcf8d0a add dlog rho method 2016-09-06 14:22:08 +02:00
Pascal
f1b83ce545 add discrete log precomputations 2016-09-06 14:22:08 +02:00
Pascal
1deaf2362d profile charevalvec 2016-09-06 14:22:07 +02:00
Pascal
ae87bc156d implement 3 vector evaluations 2016-09-06 14:22:07 +02:00
Pascal
37e8a1b18f fix generators and test conrey elements 2016-09-06 14:22:07 +02:00
Pascal
76f5816cbd add next_primitive, first test on conrey elts 2016-09-06 14:22:07 +02:00
Pascal
fa1a85b746 [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-09-06 14:22:07 +02:00
Fredrik Johansson
ecb70e7476 update copyright headers to switch from GPL to LGPL 2016-04-26 17:20:05 +02:00
Fredrik Johansson
b4ebc87a1d use arb_test_multiplier to control number of test iterations 2016-04-10 17:24:58 +02:00
Fredrik Johansson
1288b3d720 some documentation for Dirichlet characters 2016-02-23 01:18:07 +01:00
Fredrik Johansson
0c383ca3b5 strengthen test code for acb_dirichlet_chi 2016-02-23 00:46:04 +01:00
Fredrik Johansson
8d7e82c3f6 tidying 2016-02-22 11:47:12 +01:00
Fredrik Johansson
766867e28a fix the test code 2016-02-21 23:27:28 +01:00
Fredrik Johansson
9d79e3a391 initial code for Dirichlet characters (wip) 2016-02-21 23:23:51 +01:00
Fredrik Johansson
97105b5e3e improve Euler product tuning and use in arb_zeta_ui 2016-02-16 17:09:22 +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