2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 19:12:08 +00:00

39 Commits

Author SHA1 Message Date
jzmaddock
977feaf84a 1F1 coverage. 2024-08-06 12:09:33 +01:00
jzmaddock
ba6838ce07 Improve 0F1, 1F0 and 1F1 coverage. 2024-07-13 20:04:46 +01:00
jzmaddock
2dbd7698cc Adjust recursion when using the Bessel function approximation with large z.
Avoids hitting tgamma on a negative integer, also improves accuracy when b-a-0.5 is close to a negative integer.
Fixes https://github.com/boostorg/math/issues/1034.
2023-10-11 11:45:33 +01:00
jzmaddock
d5960de3db Fix case where b is a negative integer and z is also negative. (#983)
* Fix case where b is a negative integer and z is also negative.
Add tests etc.
Fixes: https://github.com/boostorg/math/issues/982.
2023-05-04 09:17:16 +01:00
Rose
fe48a3bba7 Junk removal
Removal of junk headers, typos, or mistakenly duplicated keywords
2022-11-05 12:14:12 -04:00
jzmaddock
9346271a45 Fix Issue 833 (#835)
* Correct 1F1[-n, -n, x]
To match what Mathematica does.
Fixes: https://github.com/boostorg/math/issues/829

* Pass policy in forwarding call to gamma_q.

* Fix bug in 1F1 recurrence relations when one term goes to zero.
Fixes issue with 1F1[-n, n, n].
Also reduce cancellation error in a = -1 special case.
Fixes https://github.com/boostorg/math/issues/833.
2022-10-07 09:35:26 +01:00
jzmaddock
92775b53fc Correct 1F1[-n, -n, x] (#832)
* Correct 1F1[-n, -n, x]
To match what Mathematica does.
Fixes: https://github.com/boostorg/math/issues/829
2022-10-06 11:10:56 +01:00
jzmaddock
2519641098 Two minor 1F1 bugfixes:
Prevent recurrence coefficients falling to zero.
Allow checked series to progress if the sum temporarily drops to near zero.
Add test cases.
2022-03-10 18:17:43 +00:00
jzmaddock
81cfd85df5 Begin to systematically remove direct use of lexical_cast in favour of existing abstractions. 2022-01-16 17:36:50 +00:00
Matt Borland
e1601f129a Complete CI test with standalone mode (#680) 2022-01-14 08:12:22 -08:00
Matt Borland
8ebac14382 Bulk replacement of BOOST_MSVC 2021-03-23 18:39:09 +03:00
Nick Thompson
9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
jzmaddock
d0bdc5300b Hypergeometrics: Update to fix test failures, and improve reporting of compiler requirements. 2019-07-28 17:49:37 +01:00
jzmaddock
6e85193231 pFq: rename test file 2019-07-18 18:31:30 +01:00
jzmaddock
350d9a3cd1 1F1: Correct use of precision changing in pFq.
Correct test values which were effected by the above issue.
2019-04-21 19:03:54 +01:00
jzmaddock
52e4ee3c79 1F1: Update tests for previous changes, improve error testing code. 2019-04-14 09:51:45 +01:00
jzmaddock
91731ab5fa 1F1: Fix up b < 0 domain for extended precision types.
Update docs for b < 0 case.
2019-04-08 18:25:40 +01:00
jzmaddock
b8c9267aec 1F1: better map out the regions for b < 0 where forwards/backwards recursion are stable and make use of them. 2019-04-05 18:56:46 +01:00
jzmaddock
a41421a8e5 1F1: Correct selection logic for forward-ratio on negative b method.
[CI SKIP]
2019-03-17 19:08:55 +00:00
jzmaddock
aa916169d4 1F1: Add better support for a > 0, b < 0 with additional method of ratios.
[CI SKIP]
2019-03-17 17:00:54 +00:00
jzmaddock
e07c435a0c 1F1: Fine tune recurrence on a and b for large abz case.
Update tests.
2019-03-11 19:20:36 +00:00
jzmaddock
33e67bb94d 1F1: Fine tune negative a,b fallback code, update tests. 2019-03-11 12:05:04 +00:00
jzmaddock
97fb671b25 1F1: Fix up expected errors in tests.
[CI SKIP]
2019-02-26 18:40:20 +00:00
jzmaddock
2e02905a61 1F1: 2 more bug cases.
[CI SKIP]
2019-02-24 18:11:19 +00:00
jzmaddock
39c3d03db2 1F1: simplify log_pochhammer, add new test cases.
[CI SKIP]
2019-02-24 09:43:54 +00:00
jzmaddock
fa875495e2 1F1: Update logic to determine when to apply Kummer's transformation.
[CI SKIP]
2019-02-23 19:25:27 +00:00
jzmaddock
61b52c010d 1F1: Add new bug test cases.
[CI SKIP]
2019-02-23 18:40:31 +00:00
jzmaddock
2d0e3db2db 1F1: Picked off a couple more bug cases, some more are currently "unfixable" and lodged as such.
[CI SKIP]
2019-02-18 19:31:17 +00:00
jzmaddock
5c663c558d 1F1: Correct cancellation bug in log_pochhammer.
Refine termination condition for series.
Add previously failing tests to bug cases.
2019-02-17 15:57:33 +00:00
jzmaddock
867b68440c 1F1: Fix bug in recurrence relations. 2019-02-17 10:00:03 +00:00
jzmaddock
b60cc93ae2 1F1: add updated test cases for new bugs found.
Completes second round of bug fixes.
No doubt more to come.
[CI SKIP]
2019-02-16 12:14:09 +00:00
jzmaddock
51e6cb14d2 1F1: add bug cases identified during random testing.
Note that these tests currently all fail, some are commented out because they should be tests for overflow.
2019-02-12 18:17:05 +00:00
jzmaddock
17c3ef0093 1F1: adjust expected error rates and make sure we can find stdlib functions via ADL. 2019-02-03 18:45:36 +00:00
jzmaddock
a187b714e9 1F1: Apply backwards recurrence relations for GammaP in large a,b,z approximation.
[CI SKIP]
2019-01-31 19:06:17 +00:00
jzmaddock
f00093cdf3 Test special cases, code tidy up, fix a couple of bugs exposed by new tests. 2019-01-27 09:28:56 +00:00
jzmaddock
fbba64a30c 1F1: Fix some multiprecision errors, refactor difficult/unsolved cases into separate tests and only test where appropriate.
[CI SKIP]
2019-01-20 11:27:38 +00:00
jzmaddock
0816bf0e87 1F1: improve bessel function failure modes, and improve selection logic. 2018-12-10 19:26:56 +00:00
Nick Thompson
60edddae72 Add Laplace and Mellin transform test so that 1F1 is tested over its entire domain. 2018-10-23 10:23:23 -06:00
Nick Thompson
1791a4b597 Make casing of pFq, 0F1, 1F1, etc, uniform. Make filename casing uniform to prevent compiler warnings/errors on non-portable include paths. 2018-10-22 14:13:29 -06:00