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

4287 Commits

Author SHA1 Message Date
jzmaddock
d907eb347a 1F1: Improve bessel approximation fallback methods. 2018-12-15 11:57:16 +00:00
jzmaddock
b8a94228ad 1F1: rewrite the large-z asymptotic approximation to prevent moving into the divergent area. 2018-12-15 11:56:44 +00:00
jzmaddock
0816bf0e87 1F1: improve bessel function failure modes, and improve selection logic. 2018-12-10 19:26:56 +00:00
jzmaddock
ce6b50fb90 1F1: Fix up issues with very small a.
[CI SKIP]
2018-12-09 16:45:09 +00:00
jzmaddock
a6e2b2107e 1F1: change parameters to hypergeometric_1F1_AS_13_3_6.
In case we're applying Kummer's relation and then calling this.
[CI SKIP]
2018-12-09 08:47:56 +00:00
jzmaddock
847b39a0ab 1F1: rework recurrence relations.
[CI SKIP]
2018-12-04 19:24:34 +00:00
jzmaddock
fad061124f 1F1: Slowly improving accuracy for small a, b, z.
Also added a new bessel approximation (which is not that useful to be honest).
[CI SKIP]
2018-12-02 18:04:27 +00:00
jzmaddock
4041d6ee55 Merge branch 'hypergeometric_soc_2014' of https://github.com/boostorg/math into hypergeometric_soc_2014 2018-11-28 19:19:21 +00:00
jzmaddock
19150f8c0b 1F1: add addition theorem routines.
None of these are used yet...
[CI SKIP]
2018-11-28 19:18:58 +00:00
Nick Thompson
fb71b01cfc Remove initialization order warning [CI SKIP] 2018-11-24 17:41:03 -07:00
jzmaddock
2a0f5f111c 1F1: more changes to negative a and b domain.
* Bessel approximation is now good for b-2a <= 0 via Tricomi's relations.
* Selection condition based on convergence is now more rigorous, or at least more conservative.  But...
* Error rates are much higher because a poorly converging bessel approximation has slightly less cancellation than the generic series.  Hopefully this can be fixed via https://dlmf.nist.gov/13.13.  And...
* We need to rewrite these new versions to use recurrence relations on the Bessel functions (but these need to be backwards, so we would calculate and cache say 50 evaluations, then the next 50 and so on).  And...
* Bessel approximations can underflow spuriously when b is large.... really need a log_bessel_j to fix this as we will be multiplying by tgamma(b).

[CI SKIP]
2018-11-24 12:10:10 +00:00
jzmaddock
20cab7704e Merge branch 'hypergeometric_soc_2014' of https://github.com/boostorg/math into hypergeometric_soc_2014 2018-11-12 19:39:18 +00:00
jzmaddock
2a3dfb5030 1F1: add some more (currently unused) evaluation methods. 2018-11-12 19:39:06 +00:00
Nick Thompson
b306f54bee Silence incredibly verbose -Wsign-compare warning emitted from gcc 8. 2018-11-12 11:51:54 -07:00
jzmaddock
b8839ad167 1F1: Rationalise method selection logic - more tests fail but the code is in overall better shape.
[CI SKIP]
2018-11-10 17:51:40 +00:00
jzmaddock
bfb204937e Hypergeometric 1F1: Tentatively fix more issues. 2018-11-07 16:23:35 +00:00
Nick Thompson
26b30a36c7 Add requires syntax to green up some builds. 2018-10-29 12:31:48 -06:00
Nick Thompson
3f5e730d03 Fix compilation error by including trunc.hpp 2018-10-27 16:01:20 -06:00
jzmaddock
cd626ffc89 1F1: Correct erroneous test data.
[CI SKIP]
2018-10-27 13:37:27 +01:00
jzmaddock
f066827858 1F1: Improve large-z asymptotic region.
[CI SKIP]
2018-10-25 10:42:26 +01:00
jzmaddock
7c800ddf0a remove stray {}'s 2018-10-23 20:08:16 +01:00
jzmaddock
b329c74f5a Add missing include. 2018-10-23 19:56:07 +01:00
jzmaddock
841233f034 Fix more F cases. 2018-10-23 19:50:29 +01:00
jzmaddock
62ef341156 Merge branch 'hypergeometric_soc_2014' of https://github.com/boostorg/math into hypergeometric_soc_2014
Fixed Conflicts:
	include/boost/math/special_functions/detail/hypergeometric_series.hpp
	include/boost/math/special_functions/hypergeometric_1F1.hpp
2018-10-23 19:49:30 +01:00
jzmaddock
d8225e6b06 hypergeometric_1F1: rework to better handle over/underflow. 2018-10-23 19:29:02 +01: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
jzmaddock
a7c68f1c87 hypergeometrics: Update Jamfile so it can build the tests.
Fix missing includes in hypergeometric_0f1_bessel.hpp.
Remove unneeded includes from test files.
2018-10-22 18:46:15 +01:00
Nick Thompson
885cb0d998 Replace exp(z) -1 by expm1(z) to improve accuracy for small |z|. 2018-10-22 10:40:07 -06:00
jzmaddock
8de36dd6f8 hypergeometric_1F1: better comments and 2 more degenerate cases.
[CI SKIP]
2018-10-20 10:09:37 +01:00
jzmaddock
833b4c9b5f hypergeometric_1F1: begin to fix up remaining difficult cases.
Adds a checked series for those we can't fix.
[CI SKIP]
2018-10-20 09:58:11 +01:00
jzmaddock
52079d2d23 Merge branch 'develop' into hypergeometric_soc_2014
Fixed Conflicts:
	doc/equations/generate.sh
2018-10-18 11:11:13 +01:00
Nick
620078f458 Quick typo removal 2018-10-17 08:24:28 -06:00
jzmaddock
2e15190209 third try at writing markdown!
[CI SKIP]
2018-10-15 19:25:28 +01:00
jzmaddock
189c1e9f8e Fix markdown in README.md
[CI SKIP]
2018-10-15 19:22:05 +01:00
jzmaddock
11a752b4eb Documentation: Update overview.
Add README.md.
[CI SKIP]
2018-10-15 19:19:42 +01:00
jzmaddock
d78af61023 Tentative fix for MacOS X test failure in relative_difference. 2018-10-15 13:48:56 +01:00
jzmaddock
4576399030 exp_sinh_quadrature_test.cpp: fix breakage in last commit. 2018-10-12 18:16:43 +01:00
jzmaddock
ad26e3fa9a Merge branch 'develop' of https://github.com/boostorg/math into develop 2018-10-12 13:24:13 +01:00
jzmaddock
4810facc7d exp_sinh_quadrature_test.cpp: don't carry out test if we're not going to check the result.
Add /bigobj to more msvc tests.
2018-10-12 13:23:57 +01:00
jzmaddock
5a42f8b81b Merge pull request #154 from boostorg/complex_tanh_sinh
Modify tanh_sinh to work with complex integrals.
2018-10-11 19:11:43 +01:00
jzmaddock
d3b00f2beb Fix spelling of cxx11_explicit_conversion_operators. 2018-10-11 18:06:43 +01:00
pabristow
cdea7b6724 Added requirement explicit_conversion_operators 2018-10-11 13:59:55 +01:00
jzmaddock
43119aa7f8 Fix __float128 build support on lambert_w example. 2018-10-11 09:00:46 +01:00
jzmaddock
049c670409 Add another test case for tanh_sinh complex support, and update docs with examples. 2018-10-11 08:49:05 +01:00
pabristow
e961fb9c78 Add lambert_w new examples. 2018-10-09 15:35:08 +01:00
pabristow
20067e75e5 Added two more lambert_w examples and requires cxx_numeric_limits 2018-10-09 12:53:11 +01:00
jzmaddock
5eca86157b Modify tanh_sinh to work with complex integrals. 2018-10-08 20:45:15 +01:00
jzmaddock
ea42a834cc Merge pull request #153 from boostorg/pr/add-math-target
Add a fake boost_math target to boost-install
2018-10-08 17:55:21 +01:00
pabristow
8a45f15c2d Avoid using max_digits10 in test to allow as old versions as possible to run 2018-10-08 15:10:38 +01:00