Commit graph

15 commits

Author SHA1 Message Date
Fredrik Johansson
df6a0ffd26 simplified init call for hurwitz_precomp 2017-10-31 18:28:09 +01:00
Fredrik Johansson
8f6fa5598c acb_nth_root -> acb_unit_root (clearer since there is also a function for computing the nth root of an arbitrary number) 2016-12-01 21:53:02 +01:00
Fredrik Johansson
7c69f5d009 allow G == NULL also in hardy_z to select zeta 2016-12-01 09:45:04 +01:00
Fredrik Johansson
098d4437ad use hurwitz_precomp to speed up acb_dirichlet_l 2016-11-26 10:39:27 +01:00
Fredrik Johansson
ec7d9783e6 acb_dirichlet_l: use functional equation 2016-11-17 14:34:14 +01:00
Fredrik Johansson
05f7dbd729 implement Euler product for L-functions (acb_dirichlet_l_euler_product) 2016-10-11 15:39:14 +02:00
Fredrik Johansson
75c1721746 add acb_dirichlet_l as an alias for acb_dirichlet_l_hurwitz 2016-10-08 23:54:14 +02:00
Pascal
937d026ecd simple test for l functions 2016-09-06 14:35:41 +02:00
Pascal
7436f1b668 char->order now nmod_t 2016-09-06 14:33:53 +02:00
Pascal
ce4b6c16e2 add theta functions 2016-09-06 14:33:52 +02:00
Pascal
286ca6c84d change interface to switch acb / ui output 2016-09-06 14:33:52 +02:00
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
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
1288b3d720 some documentation for Dirichlet characters 2016-02-23 01:18:07 +01:00