Commit graph

107 commits

Author SHA1 Message Date
fredrik
fbe994f446 utility functions acb_real_abs, sgn, heaviside, floor, ceil, min, max 2018-02-10 22:31:33 +01:00
Fredrik Johansson
1535e13956 faster implementation of acb_get_mag_lower, plus more test code 2017-12-13 11:37:05 +01:00
Fredrik Johansson
6a9ba9d5f4 arb_pow and acb_pow: invert before powering with binary exponentiation to reduce blowup 2017-11-27 16:09:40 +01:00
Fredrik Johansson
a0ce21c37c more trig functions (sec, csc, sech, csch) 2017-11-13 01:59:40 +01:00
Pascal
226ed94603 order arguments in acb_vec_unit_roots 2017-10-30 08:43:01 +01:00
Pascal
4376829974 change acb_vec_unit_roots interface
separate order from length, and allow negative order
2017-10-30 08:43:00 +01:00
Fredrik Johansson
aa30e792ae acb_atan: improve error bounds 2017-09-18 00:06:26 +02:00
Fredrik Johansson
ac713b31aa speed up acb_agm1 by finishing with Taylor series 2017-08-12 21:05:54 +02:00
Fredrik Johansson
683dea6c17 agm: use central difference instead of forward difference to reduce precision 2017-08-08 23:36:56 +02:00
Fredrik Johansson
de0349a885 add arb_sinc_pi, acb_sinc_pi 2017-06-20 09:44:25 +02:00
Fredrik Johansson
af1f607c32 add acb_dirichlet_hurwitz; rearrange internal call sequence to make sure Riemann zeta code is used in all cases when a=1 2017-06-19 10:23:44 +02:00
Fredrik Johansson
e08d863d58 add acb_expm1 2017-06-12 16:40:33 +02:00
Fredrik Johansson
919e6179a5 some further lambertw precision tweaks 2017-04-22 13:59:37 +02:00
Fredrik Johansson
8dcf5b383a acb_lambertw: avoid some redundant computations 2017-03-30 21:54:43 +02:00
Fredrik Johansson
fd3801531c acb_lambertw: slightly better check for using -1/e series 2017-03-30 09:10:48 +02:00
Fredrik Johansson
12adc8747d acb_lambertw: slightly better derivative bound for |k| <= 1 2017-03-30 09:05:57 +02:00
Fredrik Johansson
4528967782 support nonstandard branches in acb_lambertw 2017-03-28 01:44:41 +02:00
Fredrik Johansson
0fd1e0b833 some improvements to acb_lambertw; make arb_nonnegative_part public 2017-03-23 00:44:49 +01:00
Fredrik Johansson
d77b6c5c73 complex Lambert W function (acb_lambertw) 2017-03-20 18:57:53 +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
0be7de5ec4 de-inline some more arb and acb methods 2017-02-26 18:18:56 +01:00
Fredrik Johansson
f0570449f9 acb_inv: tighter error bounds (in particular, ensure nonzero input -> finite output) 2017-02-18 17:27:17 +01:00
Fredrik Johansson
249830451f acb_sqrt: use more accurate formula in the left half plane 2017-02-15 16:36:32 +01:00
Fredrik Johansson
8f9f343127 add arb_is_int_2exp_si and acb_is_int_2exp_si 2017-02-14 14:31:48 +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
dfc7965898 _acb_vec_nth_roots: simpler, better algorithm 2016-11-20 05:09:02 +01:00
Fredrik Johansson
06df4d6dcb wrapper for zeta algorithms 2016-10-25 21:57:37 +02:00
Isuru Fernando
36357d6abd Merge remote-tracking branch 'upstream/master' into cmake2 2016-10-14 17:47:20 +05:30
Pascal
0fd358048f move dft to separate directory 2016-10-08 22:49:40 +02:00
Fredrik Johansson
230ec151c6 acb_printn: skip parts that are 0 2016-09-20 14:15:30 +02:00
Fredrik Johansson
bbdeca4cda add acb_printn / acb_fprintn and tweak documentation 2016-09-06 18:01:14 +02:00
Fredrik Johansson
59fd3ff265 fix a small bug in acb_sinc (patch by Andrew Booker) 2016-09-02 16:09:13 +02:00
Fredrik Johansson
6316497cf5 de-inline clear() methods -> 8% faster compile, 25% smaller libarb.so 2016-07-05 00:26:55 +02:00
Isuru Fernando
84e80f0093 Add CMakeLists.txt 2016-06-24 16:19:27 +05:30
Fredrik Johansson
3b5e0ebf21 make working precision in arb_gamma and acb_gamma more input-sensitive 2016-05-08 02:24:04 +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
69564af91c agm(1,-1) = 0 2016-03-08 17:19:54 +01:00
Fredrik Johansson
80640c87e2 include flint/foo.h instead of foo.h 2016-03-03 15:42:23 +01:00
Fredrik Johansson
25d4fbcf92 move mag_add_ui_2exp_si to its own file and document it 2016-02-28 02:39:07 +01:00
Fredrik Johansson
4702cd1f74 don't include fmprb.h automatically in arb.h (also skips including fmpz_poly.h in arb.h) 2016-02-25 20:57:12 +01:00
Fredrik Johansson
5d8f80023e add acb_csgn (alternative definition of sign function) 2016-02-18 01:37:51 +01:00
Fredrik Johansson
d9c8a39a51 add complex sign function, acb_sgn 2016-02-18 00:55:43 +01:00
Fredrik Johansson
6d18eb53ed add functions for evaluating Bernoulli polynomials 2016-01-24 15:05:21 +01:00
Fredrik Johansson
118de12f7a add complex sinc function 2016-01-07 18:21:26 +01:00
alex
aef5f68625 DOC: more carefully preserve authorship info 2016-01-01 17:25:30 -05:00
alex
c7ef0f64ac MAINT: print(...) is now implemented like fprint(stdout, ...) 2016-01-01 17:18:55 -05:00
alex
020433d0dc ENH: add fprint 2015-12-31 19:06:07 -05:00
Fredrik Johansson
44b6137cab typo 2015-11-23 15:35:07 +01:00
Fredrik Johansson
a9b8590a09 add acb_quadratic_roots_fmpz 2015-11-23 15:34:28 +01:00