2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-24 06:02:08 +00:00

Commit Graph

  • 882fb5c76d roots: Fix conceptual error in unpacking a single value. jzmaddock 2019-06-13 12:48:52 +01:00
  • 2c46c4e9ca Merge branch 'develop' into issue204 John Maddock 2019-06-13 11:53:18 +01:00
  • f38e74570b Ooura Fourier Integrals: Return {I, err} rather than I [CI SKIP] Nick Thompson 2019-06-12 07:09:09 -04:00
  • a6ca778176 Ooura Fourier Sine: Add levels after precomputed levels are exhausted. [CI SKIP] Nick Thompson 2019-06-11 09:00:03 -04:00
  • f595b6a8f6 Cleanup before refactoring. [CI SKIP] Nick Thompson 2019-06-11 07:21:24 -04:00
  • e659c69fc2 The nodes and weights must be computed in higher precision than the working precision or else the error decreases to a point and then begins to increase. [CI SKIP] Nick Thompson 2019-06-07 13:26:34 -04:00
  • 43d76caa25 Precompute nodes and weights. This is somewhat suboptimal, since it requires a priori assumptions about the asymptotic behavior of the integrand. But the alternative is that the class is slow. [CI SKIP] Nick Thompson 2019-06-07 12:49:23 -04:00
  • 67dc112ba0 Cosmetic enhancements to BOOST_MATH_INSTRUMENT diagnostic output. pabristow 2019-06-05 12:22:52 +01:00
  • 3073aa063c Tentative fix for failure to converge, https://github.com/boostorg/math/issues/216 pabristow 2019-06-05 10:23:19 +01:00
  • bb9ad4a909 1F1: Testing update, note that not all tests quite pass yet. jzmaddock 2019-06-04 17:54:06 +01:00
  • 7c87ee09d4 recurrence.hpp: Fix rescaling code. jzmaddock 2019-06-04 17:53:00 +01:00
  • 239134c5f5 1F1: Correct conceptual error. jzmaddock 2019-06-04 17:52:21 +01:00
  • 9a30204a6c Gamma: make sure lgamma returns the sign of result correctly in the multiprecision case. jzmaddock 2019-06-04 17:51:44 +01:00
  • aec0e833f0 pFq: lots of rescaling fixes. jzmaddock 2019-06-04 17:51:03 +01:00
  • f821c4e373 1F1: If recursion would result in too many steps, try the series instead. jzmaddock 2019-06-04 17:50:13 +01:00
  • e1f2c68cbe 1F1: Add missing using declaration in large_abz case. jzmaddock 2019-06-04 17:49:15 +01:00
  • 207005dcfb 1F1: Don't use infinity in hypergeometric_1F1_bessel.hpp, it breaks the concept checks. jzmaddock 2019-06-04 17:48:38 +01:00
  • 725544c1fb small details [CI SKIP] Nick Thompson 2019-06-04 12:13:59 -04:00
  • a48551221e Merge branch 'ooura_fourier_transform' of https://github.com/boostorg/math into ooura_fourier_transform [CI SKIP] Nick Thompson 2019-06-04 12:00:13 -04:00
  • b06fbdbc5f merge develop [CI SKIP] Nick Thompson 2019-06-04 11:54:51 -04:00
  • a97edb1139 Allow use of std::array [CI SKIP] Nick Thompson 2019-06-04 11:47:17 -04:00
  • 8f8b56019d Add missing include [CI SKIP] Nick 2019-06-04 10:28:28 -04:00
  • a52f16bafe Improvments to distribution construction examples, now using cpp_bin_float rather than cpp_dec_float but values computed differ and Wolfram wont computer the examples used, only allowing integral parameters for PDF, so better to use normal distribution [CI SKIP] pabristow 2019-06-03 17:43:44 +01:00
  • 1bd16abd67 Merge branch 'develop' of https://github.com/boostorg/math into develop pabristow 2019-05-31 12:31:08 +01:00
  • 1adff62d11 Typo Gaus corrected [CI SKIP] pabristow 2019-05-31 12:21:19 +01:00
  • 8fcb98e4fc Typo consttable corrected pabristow 2019-05-31 12:20:39 +01:00
  • 9432e32afa Merge pull request #210 from boostorg/catmull_cxx11 jzmaddock 2019-05-30 21:03:48 +01:00
  • aa5a63135c Remove typo from docs and kick off build. Nick Thompson 2019-05-30 13:42:58 -04:00
  • 18feb0fc2a Documentation, more unit tests [CI SKIP] Nick 2019-05-30 13:25:53 -04:00
  • 02ff33c49a Several broken/missing links corrected, and lambert_w_errors_graph.cpp added. Passes local inspect.exe except on link to Boost.Test floating point that may work when built in situ. [CI SKIP] for now. pabristow 2019-05-30 16:55:15 +01:00
  • 9e21a89675 fix move constructor use [CI SKIP] Nick Thompson 2019-05-30 11:12:38 -04:00
  • 2f725f0299 Tests for vector-valued barycentric rational. [CI SKIP] Nick 2019-05-29 15:52:23 -04:00
  • 1f9e18e63b First pass at vector-valued interpolation in barycentric rational Nick Thompson 2019-05-29 11:35:54 -04:00
  • 5e42b1d736 Merge branch 'develop' of https://github.com/boostorg/math into develop pabristow 2019-05-28 15:35:48 +01:00
  • 2579514f00 Comment out to remove unnecessary run of fft_sines_table.cppthat only creates a table of sines for a documentation example. [CI SKIP] pabristow 2019-05-28 15:35:09 +01:00
  • e415650f86 prime: Correct value of max_prime and add test. Fixes https://github.com/boostorg/math/issues/214. jzmaddock 2019-05-26 11:45:35 +01:00
  • 0531fd715c catmull_rom: further split up test case to avoid over large obj files. jzmaddock 2019-05-26 10:03:53 +01:00
  • 15bfc148c7 roots.hpp: correct flaw in previous commit. If the next step jumps out of bounds, we need to fix up the sign of the result, otherwise the bounds get incorrectly updated. jzmaddock 2019-05-26 09:56:22 +01:00
  • aa44b78885 Split catmull_rom_test into 2 and fix clang conversion issue. jzmaddock 2019-05-25 18:27:08 +01:00
  • 70162dbcb8 Update second order root finding code to bracket root when required. When min and max differ by many orders of magnitude (as happens when one is zero for example), then bisection can take a very long time to iterate down to the root. Instead use a bracketing strategy which doubles the step size with each iteration until a bracket is found, then repeat recursively as required until we have a reasonably small interval. Note that this only kicks in when a Halley step goes out of bounds and we're therefore forced to thrash around looking for the root. Fixes: https://github.com/boostorg/math/issues/204. jzmaddock 2019-05-25 18:18:20 +01:00
  • bbcd180273 catmull_rom - second try at back porting to C++11. jzmaddock 2019-05-23 08:54:11 +01:00
  • 1b10acf47f Backport catmull_rom.hpp to C++11. See https://github.com/boostorg/math/issues/208. jzmaddock 2019-05-22 19:38:34 +01:00
  • 9803ed1fa0 Merge pull request #207 from boostorg/ellint-range jzmaddock 2019-05-20 13:34:50 +01:00
  • d11eb67c67 ellint_d: extend range to k > 1 same ellint_1/2/3. jzmaddock 2019-05-19 08:54:17 +01:00
  • a033166f7f Elliptic Integrals: extend range of ellint_1/2/3. See https://github.com/boostorg/math/issues/183. jzmaddock 2019-05-18 19:36:22 +01:00
  • 4b2a33d522 Merge pull request #206 from boostorg/catmull_rom_container Nick 2019-05-17 09:53:51 -04:00
  • c8062fbc90 Allow generic random access containers other than std::vector for Catmull-Rom. Nick Thompson 2019-05-16 18:03:57 -04:00
  • b98f4e95f1 Update gauss_kronrod.qbk Nick 2019-05-14 15:28:41 -04:00
  • 03cb3f04b5 Ellint_1: remove redundant check. Fixes https://github.com/boostorg/math/issues/196. jzmaddock 2019-05-13 19:40:36 +01:00
  • 63f09b4c30 ellint_3: rearrange special cases for better performance and to avoid redundant check. Fixes https://github.com/boostorg/math/issues/197. jzmaddock 2019-05-13 19:16:00 +01:00
  • 143e20ed02 Merge branch 'develop' of https://github.com/boostorg/math into develop jzmaddock 2019-05-13 18:35:53 +01:00
  • b8dbd0ea6e Update binomial docs: fixes https://github.com/boostorg/math/issues/203. jzmaddock 2019-05-13 18:35:29 +01:00
  • dc7ecc0581 1F1: Exclude values very close to 1 from logarithmic testing for now. Add tests for log and regularized cases. Log cases still have many failures and are not yet tested. jzmaddock 2019-05-13 18:07:47 +01:00
  • d81eb7ea31 1F1: Update expected errors now we're using the large abz case more often. jzmaddock 2019-05-13 18:05:59 +01:00
  • 1e4703becb 1F1: remove some cases from direct series evaluation with negative z: better to go via the large abz code instead. jzmaddock 2019-05-13 18:05:19 +01:00
  • d690ab88e9 1F1: regular series: when the maxima of the series is a long way from the origin, jump straight to it and work outwards from there. jzmaddock 2019-05-13 18:03:53 +01:00
  • 1e7a3e1e38 pFq: Figure out where the maxima of the series are and work outwards from there. jzmaddock 2019-05-13 18:02:53 +01:00
  • a75d67b523 1F1: Update costs and preconditions in large abz case. jzmaddock 2019-05-13 18:01:42 +01:00
  • fc0c104434 Add FAQ to Boost.Math about using Boost.Multiprecision cpp_dec or cpp_bin, hopefully satisfying respective authors. [CI SKIP] pabristow 2019-05-08 14:38:59 +01:00
  • 200e1b9149 improvement to multiprecision sines_table example [CI SKIP] pabristow 2019-05-08 11:50:24 +01:00
  • 129daa914f improvement to multiprecision sines_table example pabristow 2019-05-08 11:47:50 +01:00
  • c759981a2a Improve performance of sin_pi and cos_pi: Use a static_cast to int when available for parity checking as it's much faster than itrunc. Don't check for overflows in the result, since we know the result is in [-1,1]. jzmaddock 2019-05-03 19:11:03 +01:00
  • 24b410d0b0 unchecked_factorial: correct numeric_limits usage to not instantiate numeric_limits<__float128>. jzmaddock 2019-04-30 18:22:16 +01:00
  • 9b1e5561af LambertW: break dependency to cstdfloat.hpp - it causes all sorts of failures based on include order. jzmaddock 2019-04-29 18:29:38 +01:00
  • f265221bf6 Merge branch 'develop' of https://github.com/boostorg/math into develop jzmaddock 2019-04-28 20:36:53 +01:00
  • e125ac18ab unchecked_factorial: when using a non-builtin type, default to the builtin versions if the precision is small enough. Requires updating beta.hpp as well. jzmaddock 2019-04-28 20:36:05 +01:00
  • e414e316ab Merge pull request #191 from boostorg/float128_patches_2 jzmaddock 2019-04-27 19:03:48 +01:00
  • df9bb98a12 float128 tests: disable NaN check on Mingw. jzmaddock 2019-04-26 20:03:47 +01:00
  • 2bdb511b5b Merge pull request #198 from boostorg/autodiff jzmaddock 2019-04-25 20:07:55 +01:00
  • 067e778d75 Merge branch 'autodiff' of https://github.com/pulver/math into autodiff John Maddock 2019-04-23 18:04:27 +01:00
  • 2bc18d3d44 On hypergeometric_soc_2014: working jzmaddock 2019-04-23 17:58:20 +01:00
  • 1d82258911 index on hypergeometric_soc_2014: 350d9a3cd 1F1: Correct use of precision changing in pFq. Correct test values which were effected by the above issue. jzmaddock 2019-04-23 17:58:14 +01:00
  • 350d9a3cd1 1F1: Correct use of precision changing in pFq. Correct test values which were effected by the above issue. jzmaddock 2019-04-21 19:03:54 +01:00
  • 70809e3c06 1F1: Add heuristic for large a in negative b regions. jzmaddock 2019-04-21 19:02:31 +01:00
  • eddde433ec 1F1: Correct negative b regions for large a case. jzmaddock 2019-04-17 18:39:27 +01:00
  • 61322ac8ec 1F1: Add regularized versions to tests. jzmaddock 2019-04-17 18:37:02 +01:00
  • 648ebfdc25 1F1: Add regularized version. jzmaddock 2019-04-17 18:27:42 +01:00
  • 5e219748bc Merge pull request #195 from boostorg/performance_improvements Nick 2019-04-14 10:32:11 -04:00
  • 2e1e8a0038 Supress macro expansion of isless etc jzmaddock 2019-04-14 12:09:44 +01:00
  • f23f1458cb 1F1: Update docs for ab < 0 region. jzmaddock 2019-04-14 09:53:07 +01:00
  • 52e4ee3c79 1F1: Update tests for previous changes, improve error testing code. jzmaddock 2019-04-14 09:51:45 +01:00
  • f520bc9dff 1F1: Allow log_pochhammer to work when the argument is a negative integer as long as it doesn't cross the origin. Remove special series code for b < 0 as this now always goes to the checked implementation. jzmaddock 2019-04-14 09:50:35 +01:00
  • b265ce14cf 1F1: Improve method selection logic for a,b < 0. jzmaddock 2019-04-14 09:49:11 +01:00
  • 08a47dba2d 1F1: Correct precision obtained calculation in hypergeometric_pFq. jzmaddock 2019-04-14 09:47:27 +01:00
  • b3b0dd36de 1F1: correct rescaling in hypergeometric_1F1_checked_series_impl. jzmaddock 2019-04-14 09:46:17 +01:00
  • 165cf9e480 Vectorize mean calculation. Nick 2019-04-13 17:22:24 -04:00
  • 91731ab5fa 1F1: Fix up b < 0 domain for extended precision types. Update docs for b < 0 case. jzmaddock 2019-04-08 18:25:40 +01:00
  • 6c0ac9a8c8 Remove control character(?) from comment. [CI SKIP] boost-1.70.0 Nick Thompson 2019-04-03 19:39:49 -04:00
  • 01f80a651b 1F1: Improve error plot code. jzmaddock 2019-04-05 18:57:10 +01:00
  • b8c9267aec 1F1: better map out the regions for b < 0 where forwards/backwards recursion are stable and make use of them. jzmaddock 2019-04-05 18:56:46 +01:00
  • fb4c9f669d pFq: Make sure we're using the correct precision. jzmaddock 2019-04-05 18:55:21 +01:00
  • a94c402327 1f1: Make calls to tgamma/lgamma qualified. jzmaddock 2019-04-05 18:54:47 +01:00
  • 9b0d249f68 pFq: Add rescaling if term when b crosses the origin underflows. jzmaddock 2019-04-05 18:54:10 +01:00
  • 805161a5c8 1F1: Correct some conceptual errors in hypergeometric_1F1_by_ratios.hpp. jzmaddock 2019-04-05 18:53:23 +01:00
  • 748172f279 Merge branch 'develop' of https://github.com/boostorg/math into develop [CI SKIP] Nick Thompson 2019-04-03 19:40:02 -04:00
  • 166e5fb513 Remove control character(?) from comment. [CI SKIP] Nick Thompson 2019-04-03 19:39:49 -04:00
  • 475179d3bb Set path for admonishment graphics in PDF builds. jzmaddock 2019-04-02 18:44:57 +01:00
  • 4bc056bf9e Make __float128 iostream operator inline. jzmaddock 2019-04-02 08:34:25 +01:00
  • 35dfb36af2 Add <ionstream> include for __float128 io operator. jzmaddock 2019-03-30 08:35:29 +00:00
  • 16ffd8b7e9 Fix typos in last commit jzmaddock 2019-03-27 18:58:35 +00:00