2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-20 14:52:17 +00:00
Commit Graph

4581 Commits

Author SHA1 Message Date
jzmaddock
7386544439 1F1: Fixes for small b values when recursing. 2019-02-23 18:37:56 +00:00
jzmaddock
d92810c00b 1F1: Use a checked series summation for the Tricomi approximation as we can't always tell when it will be divergent in advance. 2019-02-23 18:37:23 +00:00
jzmaddock
bf4f3b6ced 1F1: Apply scaling to hypergeometric_1f1_recurrence_on_z_minus_zero. 2019-02-23 18:35:45 +00:00
jzmaddock
332fb32919 Merge branch 'develop' into hypergeometric_soc_2014
[CI SKIP]
2019-02-21 13:03:04 +00:00
jzmaddock
a3bb22494a Root finding: correct bug where we could incorrectly terminate when the last iteration was pathological and we had to bisect. Fixes: https://github.com/boostorg/math/issues/184. 2019-02-20 20:53:00 +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
23de7a57af big_constant.hpp: fully qualify names so they can be used outside namespace boost::math.
[CI SKIP]
2019-02-17 15:58:40 +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
f4e5abfbb1 pFq: Add timeout support to hypergeometric_pFq_precision.
[CI SKIP]
2019-02-17 10:00:53 +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
bd9599fe3f 1F1: hypergeometric_1F1_small_a_negative_b_by_ratio doesn't work when b + i == a for some integer i. 2019-02-16 12:13:07 +00:00
jzmaddock
00dfd44470 1F1, asymptotic-z region: don't use logs unless we really have to.
Also don't take this branch when |a| is really small.
2019-02-16 12:11:49 +00:00
jzmaddock
e21ebd56c4 1F1: Add expected error rates for bug cases.
Completes first round of bug fixing, but there are still many more to come.
[CI SKIP]
2019-02-15 20:05:18 +00:00
jzmaddock
612c827bc6 Hypergeometrics: add pFq to specified precision. 2019-02-15 20:00:55 +00:00
jzmaddock
a060a48a01 1F1: Add better support for very small a when b < 0. 2019-02-15 20:00:15 +00:00
jzmaddock
da18aae70f More warning suppression, fix function signatures. 2019-02-15 19:59:21 +00:00
jzmaddock
76cb52af91 Bit of msvc warning suppression. 2019-02-15 19:58:15 +00:00
Nick
94034080e7 Merge pull request #179 from boostorg/barycentric_move_constructor [CI SKIP]
Add move constructor for barycentric rational interpolation. [CI SKIP]
2019-02-14 22:43:13 -07:00
Nick Thompson
b44f37845a Use m_x(std::move(x)) rather than m_x{std::move(x)}. 2019-02-12 11:50:21 -07: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
cf277a51f4 Disable some clang warnings on the hypergeometric tests. 2019-02-12 18:15:18 +00:00
jzmaddock
a71c2c0887 1F1, A&S 13.3.6 selection logic: improve estimate of Bessel I convergence rate so we don't accidentally take this method when it is non-convergent. 2019-02-12 18:14:28 +00:00
jzmaddock
fa3e94ff79 1F1: large z case: can't have b-a as a negative integer. 2019-02-12 18:09:14 +00:00
jzmaddock
9eb6d5fc58 1F1, hypergeometric_1F1_backwards_recursion_on_b_for_negative_a: correct use of scaling. 2019-02-12 18:08:21 +00:00
jzmaddock
61af0415f4 1F1: large abz: Can't use A&S 13.3.6 when b-a = 1/2. 2019-02-12 18:07:19 +00:00
jzmaddock
71340ca0ad 1F1: extend A&S 13.3.6 to large z. 2019-02-12 18:06:15 +00:00
Nick Thompson
8e78096977 Add more C++11 feature requirements to barycentric_rational. 2019-02-11 21:42:12 -07:00
Nick Thompson
c60af18460 Merge branch 'develop' into barycentric_move_constructor 2019-02-11 09:46:28 -07:00
Nick Thompson
6c1af3a3aa Add extra C++11 features to requirements for barycentric_rational example. [CI SKIP] 2019-02-11 09:46:25 -07:00
Nick Thompson
210c53151c Increase Lanczos smoothing error rate for Windows (again). 2019-02-10 10:45:33 -07:00
Nick Thompson
cac1059c78 Barycentric rational test still generates object too big. 2019-02-09 18:20:03 -07:00
Nick Thompson
5212ce1276 Merge branch 'develop' into barycentric_move_constructor [CI SKIP] 2019-02-09 18:10:11 -07:00
Nick Thompson
8c762558e3 Increase error rates for Lanczos smoothing. 2019-02-09 16:44:57 -07:00
Nick Thompson
8024c4eae0 Remove instantiation of std::complex on multiprecision types. 2019-02-09 09:46:45 -07:00
Nick
3153cd9390 Merge pull request #182 from katrinleinweber/resolve-DOIs-securely [CI SKIP]
Hyperlink DOIs to preferred resolver [CI SKIP]
2019-02-07 20:30:30 -05:00
Nick Thompson
4a6d80e059 Fix object size too big in MSVC 14 in Catmull-Rom tests. 2019-02-07 18:28:49 -07:00
Nick Thompson
0d27687236 MSVC 14 does not like uint8_t. 2019-02-06 15:04:15 -05:00
jzmaddock
ae71780588 1F1: Don't use special case for b-a == -1 when a is small. 2019-02-06 19:37:43 +00:00
jzmaddock
c603bf78a7 Hypergeometrics: Fix up some testing and conceptual errors flagged up by first CI run. 2019-02-06 18:42:09 +00:00
Katrin Leinweber
f3b9028d26 Hyperlink DOIs to preferred resolver 2019-02-06 19:10:00 +01:00
jzmaddock
028868a670 0F1/2F0: mark up error rates. 2019-02-04 18:22:29 +00:00
jzmaddock
978d10cacf 1F1: Fixes for expression template enabled types. 2019-02-04 18:21:48 +00:00
jzmaddock
9c238c07e4 1F1: Add some limits to the circumstances where we will try out the Bessel function approximations.
[CI SKIP]
2019-02-03 19:11:18 +00:00
jzmaddock
3dddfaa916 1F1: Calculate and cache Bessel I and J values for A&S 13.3.7 Tricomi via recurrences.
This completes the Bessel approximation TODO's.
2019-02-03 19:09:39 +00:00
jzmaddock
bc96c5c44f 1F1: correct hypergeometric_1F1_backwards_recursion_on_b_for_negative_a for the case where b > 0. 2019-02-03 18:52:46 +00:00
jzmaddock
4f0f6817e0 1F1: Add missing typecast to enum. 2019-02-03 18:51:35 +00:00
jzmaddock
40d3871ea0 Bessel Iterators: Add missing constructor to bessel_j_backwards_iterator and new bessel_i_forwards_iterator for forward iteration on I_v(x) with v < 0. 2019-02-03 18:50:51 +00:00
jzmaddock
0f1dd75f08 BesselJY: Correct overflow handling so we get infinity rather than a NaN 2019-02-03 18:46:40 +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