Commit graph

109 commits

Author SHA1 Message Date
fredrik
d271652d31 add missing include 2021-09-29 19:55:34 +02:00
fredrik
52474120ce begin make old gamma functions call new code 2021-09-19 15:07:07 +02:00
Matthias Gessinger
ca3ea3fffd Fix Graeffe transform for constant polynomial 2021-07-28 19:34:15 +02:00
fredrik
181a895539 fix warning 2021-07-28 18:29:33 +02:00
Matthias Gessinger
d642a9ae71 Declare variables at the top of every function 2021-07-28 16:59:58 +02:00
Matthias Gessinger
89545adbcc Slightly optimize memory usage
Save some memory by using smaller arrays for the even and odd terms.
Adjust the loop lengths, to accomodate for shorter arrays
not overwriting "outdated" data.

E.g.: If a and b are aliased, then the first poly_mul does not overwrite
the leading coefficient, which leads to incorrect results.
2021-07-28 16:07:46 +02:00
Matthias Gessinger
499f05dbcc Adapt coding style to include spaces 2021-07-27 18:59:01 +02:00
Matthias Gessinger
6491bd271a Fix Copyright notice 2021-07-27 14:55:57 +02:00
Matthias Gessinger
c22f6a87bb Write tests for real and complex graeffe_transform
Create polynomials from a set of roots.
Square these roots to compute the expected output.
2021-07-27 14:12:42 +02:00
Matthias Gessinger
ac29673684 Implement Graeffe Transform for real and complex poly 2021-07-27 14:12:07 +02:00
fredrik
4b149e7b13 fix an inefficiency in hurwitz zeta in a special case 2020-03-23 16:53:04 +01:00
fredrik
a682aedb61 use arb_dot/acb_dot in more polynomial methods 2018-08-26 20:25:31 +02:00
fredrik
ffa60bf319 implement acb_dot and use in the acb_poly module 2018-08-26 19:59:30 +02:00
Fredrik Johansson
537fae5110 add acb_dirichlet_zeta_jet + first derivative using Riemann-Siegel; also fix a bug in Riemann-Siegel code 2017-11-20 19:14:20 +01:00
Fredrik Johansson
12d6658ae7 add arb_poly_product_roots_complex; add test code and slight optimization for arb/acb_poly_product_roots 2017-06-21 15:07:40 +02:00
Fredrik Johansson
9329279e8f Lambert W function of power series 2017-03-20 22:56:37 +01:00
Tommy Hofmann
6bf072eb59 Replace abort with flint_abort.
This will allow us to not loose the julia session on error.
See also https://github.com/wbhart/flint2/pull/243
2017-02-28 16:52:57 +01:00
Fredrik Johansson
dc99f67932 add arb_poly_log1p_series, acb_poly_log1p_series 2017-02-26 15:22:25 +01:00
Fredrik Johansson
536ec0faaf faster dilog implementation 2017-02-24 21:58:23 +01:00
Fredrik Johansson
6825a4b912 zeta_em_choose_param: fix an issue with too large parameters being selected 2017-02-24 21:23:49 +01:00
Fredrik Johansson
76fbb1cf0b fix a memory leak 2017-02-16 13:31:54 +01:00
Fredrik Johansson
04973d7b64 add acb_poly_exp_pi_i_series 2017-02-16 10:54:39 +01:00
Fredrik Johansson
4b8b39c45d migrate elliptic functions to the acb_elliptic module 2017-02-12 22:20:33 +01:00
Fredrik Johansson
baa6628e5c fix some missing clears() 2016-12-05 14:37:08 +01:00
Fredrik Johansson
6ee1499a5d l_jet: hack to call proper Riemann zeta code 2016-12-02 14:41:17 +01:00
Fredrik Johansson
52865f3429 fix problem with relative tolerance and complex a in hurwitz zeta 2016-11-26 11:41:49 +01:00
Fredrik Johansson
483253cbd4 hurwitz zeta: try for relative tolerance more aggressively 2016-11-26 10:38:44 +01:00
Fredrik Johansson
f8bd2155e9 deflated Hurwitz zeta function: use explicit formula at s = 1 2016-11-24 11:44:42 +01:00
Isuru Fernando
427d030d5b Add missing ARB_DLL 2016-11-06 23:37:40 +05:30
Isuru Fernando
d6f9129951 Add support for dll 2016-11-06 23:37:40 +05:30
Fredrik Johansson
1b92a14213 add space-efficient powsum_smooth version 2016-10-22 00:26:10 +02:00
Fredrik Johansson
c4af23b1c5 partially refactor and move power series code to the acb_dirichlet module 2016-10-21 20:32:46 +02:00
Fredrik Johansson
84a49ff8fd add methods to count allocated bytes; restrict memory usage in zeta sum sieving 2016-10-19 17:58:37 +02:00
Fredrik Johansson
e2635824ce add binomial and borel transforms for acb_poly 2016-10-19 14:51:27 +02:00
Isuru Fernando
36357d6abd Merge remote-tracking branch 'upstream/master' into cmake2 2016-10-14 17:47:20 +05:30
Fredrik Johansson
a357181b71 add polynomial valuation functions 2016-09-07 16:25:32 +02:00
Fredrik Johansson
b6be51978f add polynomial add_series and sub_series methods 2016-09-07 16:03:47 +02:00
Fredrik Johansson
9f0e392d2b add poly set_trunc and set_trunc_round methods 2016-09-02 16:01:15 +02:00
Isuru Fernando
84e80f0093 Add CMakeLists.txt 2016-06-24 16:19:27 +05:30
Fredrik Johansson
61d8bf9cda zeta_em_choose_param hack: use fewer bernoulli numbers for zeta(0.5+Ni), N large 2016-05-26 17:23:21 +02:00
Fredrik Johansson
0153a518f4 arb/acb_poly_mullow: hack for in-place mul of len <= 2 2016-05-16 18:38:48 +02:00
alex
ae3777314d ENH: acb poly scalar mul and div convenience functions 2016-04-27 21:23:54 -04:00
Fredrik Johansson
ecb70e7476 update copyright headers to switch from GPL to LGPL 2016-04-26 17:20:05 +02:00
alex
650d891efc MAINT: move upper incomplete gamma series from acb_poly to acb_hypgeom 2016-04-19 15:27:53 -04:00
Fredrik Johansson
b4ebc87a1d use arb_test_multiplier to control number of test iterations 2016-04-10 17:24:58 +02:00
Fredrik Johansson
7759e89a79 speed up some unnecessarily slow tests 2016-03-31 02:02:22 +02:00
Fredrik Johansson
72d40364c6 add arb_poly_sinc_series, acb_poly_sinc_series 2016-03-13 00:22:17 +01:00
Fredrik Johansson
e8b9100478 use basecase division for short power series divisions 2016-03-12 03:12:38 +01:00
Fredrik Johansson
d1ac8dc4b9 sinh and cosh for power series 2016-03-11 03:40:31 +01:00
Fredrik Johansson
daf20eaf61 tweak arb/acb_poly_inv_series 2016-03-10 23:01:41 +01:00