Commit graph

2480 commits

Author SHA1 Message Date
fredrik
450435a84a fix (hopefully) spurious test failures for gamma_fmpq 2021-09-28 12:07:45 +02:00
fredrik
928a2ec61a add a diagnostic message 2021-09-28 10:36:42 +02:00
fredrik
bd68cc0219 update docs; call this 2.21.0 2021-09-25 11:53:01 +02:00
fredrik
89cb885c07 more fixes 2021-09-25 10:57:27 +02:00
fredrik
3ff973a37f small fix 2021-09-24 14:27:39 +02:00
fredrik
ddb11cc373 one more test case 2021-09-24 14:25:58 +02:00
fredrik
64677df002 some minimal test code 2021-09-24 14:15:03 +02:00
fredrik
7d5a70f229 more wrappers 2021-09-24 13:48:02 +02:00
fredrik
aa901badda more wrappers 2021-09-23 23:12:16 +02:00
fredrik
3d62dc3382 small improvement for barnes_g 2021-09-23 20:26:00 +02:00
fredrik
636ca0be39 wrap more functions 2021-09-23 19:08:48 +02:00
fredrik
512d72b2e4 wrap more functions 2021-09-23 16:04:31 +02:00
fredrik
28e672e7da Merge branch 'master' of github.com:fredrik-johansson/arb 2021-09-23 14:37:06 +02:00
fredrik
ac8e6ead29 begin floating-point wrapper module 2021-09-23 14:36:54 +02:00
Fredrik Johansson
dd10372a4b
Merge pull request #370 from albinahlback/doc_expm1_arb
Minor documentation changes
2021-09-22 11:16:49 +02:00
fredrik
c713d91280 fix #376 by renaming function 2021-09-22 11:15:48 +02:00
Fredrik Johansson
35cb5c07e9
Merge pull request #377 from albinahlback/acb_add_error_arb
Add acb_add_error_arb
2021-09-22 11:04:44 +02:00
Albin Ahlbäck
2acfe29830 Add acb_add_error_arb
Also add acb_add_error_arf to the documentation.
2021-09-21 17:14:01 +02:00
fredrik
15380eedb6 small test speedup 2021-09-19 15:54:24 +02:00
fredrik
52474120ce begin make old gamma functions call new code 2021-09-19 15:07:07 +02:00
fredrik
9916182253 use table for const_euler at low prec 2021-09-19 12:56:03 +02:00
fredrik
43a337041a add test code for gamma taylor table 2021-09-19 12:33:26 +02:00
fredrik
d188914df2 fix memory leak in arf_load_file (thanks Dave Platt) 2021-09-17 12:49:36 +02:00
fredrik
eed5af28f8 arb_hypgeom_gamma_fmpq 2021-09-02 14:10:38 +02:00
fredrik
7eaf81d4b9 gamma fine-tuning 2021-09-02 12:53:03 +02:00
fredrik
97f2325896 arb_hypgeom_lgamma, acb_hypgeom_lgamma 2021-09-01 09:52:11 +02:00
fredrik
83b9ae5b58 log rising factorials 2021-08-30 11:44:06 +02:00
fredrik
389c085263 slight speedup of bernoulli cache for small n (todo: properly benchmark and improve) 2021-08-30 11:43:51 +02:00
fredrik
f120e173b9 try better wide bounds; rgamma example integral 2021-08-06 12:47:53 +02:00
fredrik
01c219f876 complex taylor gamma; bugfixes 2021-08-06 11:32:28 +02:00
fredrik
5eeb61ca2e more robust choose_n 2021-08-06 10:21:17 +02:00
fredrik
6d10f770ce work on acb_hypgeom_gamma 2021-08-04 19:20:42 +02:00
fredrik
1cbd8704cc all the rising factorial algorithms for acb 2021-07-29 13:16:29 +02:00
fredrik
a5676e672b handle reciprocal gamma 2021-07-29 00:57:53 +02:00
Fredrik Johansson
33596822a1
Merge pull request #375 from MGessinger/graeffe-fix
Fix Graeffe transform for constant polynomials
2021-07-28 19:53:11 +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
Fredrik Johansson
a68908f58c
Merge pull request #374 from MGessinger/graeffe
Implement Graeffe Transform for arb_poly and acb_poly
2021-07-28 18:17:58 +02:00
fredrik
75fc636132 experimental new gamma function code (work in progress) 2021-07-28 17:57:39 +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
2dae4a0828 Provide documentation for Graeffe transform 2021-07-27 19:22:11 +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
c2168d5f9c doc fmt 2021-07-25 14:33:50 +02:00
fredrik
5c26f5cc24 gamma helper functions 2021-07-25 14:22:46 +02:00
fredrik
7748f0230c add arf_fma, arb_fma, arb_fma_ui 2021-07-25 12:41:17 +02:00
fredrik
e7bcb28c0f fix typo 2021-07-25 11:33:41 +02:00