2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-29 07:42:11 +00:00
Commit Graph

1952 Commits

Author SHA1 Message Date
Nick Thompson
260a3af015 Whittaker-Shannon: Update docs, implement derivatives. 2019-06-24 08:28:14 -04:00
Nick Thompson
b2c2f0e644 Whittaker-Shannon interpolation: Derivative works, but is not sufficiently accurate. Some floating point manipulations are still required. [CI SKIP] 2019-06-19 09:42:50 -04:00
Nick Thompson
a1149ce7f0 Whittaker-Shannon interpolation: Use PIMPL idiom. [CI SKIP] 2019-06-19 06:53:01 -04:00
pabristow
67dc112ba0 Cosmetic enhancements to BOOST_MATH_INSTRUMENT diagnostic output. 2019-06-05 12:22:52 +01:00
pabristow
3073aa063c Tentative fix for failure to converge, https://github.com/boostorg/math/issues/216 2019-06-05 10:23:19 +01:00
jzmaddock
9432e32afa Merge pull request #210 from boostorg/catmull_cxx11
Backport catmull_rom.hpp to C++11.
2019-05-30 21:03:48 +01:00
jzmaddock
e415650f86 prime: Correct value of max_prime and add test.
Fixes https://github.com/boostorg/math/issues/214.
2019-05-26 11:45:35 +01:00
jzmaddock
bbcd180273 catmull_rom - second try at back porting to C++11. 2019-05-23 08:54:11 +01:00
jzmaddock
1b10acf47f Backport catmull_rom.hpp to C++11.
See https://github.com/boostorg/math/issues/208.
2019-05-22 19:38:34 +01:00
jzmaddock
9803ed1fa0 Merge pull request #207 from boostorg/ellint-range
Update the range of the elliptic integrals to support the k > 1 case.
2019-05-20 13:34:50 +01:00
jzmaddock
d11eb67c67 ellint_d: extend range to k > 1 same ellint_1/2/3. 2019-05-19 08:54:17 +01:00
jzmaddock
a033166f7f Elliptic Integrals: extend range of ellint_1/2/3.
See https://github.com/boostorg/math/issues/183.
2019-05-18 19:36:22 +01:00
Nick Thompson
c8062fbc90 Allow generic random access containers other than std::vector for Catmull-Rom. 2019-05-16 18:03:57 -04:00
jzmaddock
03cb3f04b5 Ellint_1: remove redundant check.
Fixes https://github.com/boostorg/math/issues/196.
2019-05-13 19:40:36 +01:00
jzmaddock
63f09b4c30 ellint_3: rearrange special cases for better performance and to avoid redundant check.
Fixes https://github.com/boostorg/math/issues/197.
2019-05-13 19:16:00 +01:00
jzmaddock
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].
2019-05-03 19:11:03 +01:00
jzmaddock
24b410d0b0 unchecked_factorial: correct numeric_limits usage to not instantiate numeric_limits<__float128>. 2019-04-30 18:22:16 +01:00
jzmaddock
9b1e5561af LambertW: break dependency to cstdfloat.hpp - it causes all sorts of failures based on include order. 2019-04-29 18:29:38 +01:00
jzmaddock
f265221bf6 Merge branch 'develop' of https://github.com/boostorg/math into develop 2019-04-28 20:36:53 +01:00
jzmaddock
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. 2019-04-28 20:36:05 +01:00
jzmaddock
e414e316ab Merge pull request #191 from boostorg/float128_patches_2
Next set of float128 patches for better std lib support.
2019-04-27 19:03:48 +01:00
John Maddock
067e778d75 Merge branch 'autodiff' of https://github.com/pulver/math into autodiff 2019-04-23 18:04:27 +01:00
jzmaddock
2e1e8a0038 Supress macro expansion of isless etc 2019-04-14 12:09:44 +01:00
Nick
165cf9e480 Vectorize mean calculation. 2019-04-13 17:22:24 -04:00
Nick Thompson
166e5fb513 Remove control character(?) from comment. [CI SKIP] 2019-04-03 19:39:49 -04:00
jzmaddock
4bc056bf9e Make __float128 iostream operator inline. 2019-04-02 08:34:25 +01:00
jzmaddock
35dfb36af2 Add <ionstream> include for __float128 io operator. 2019-03-30 08:35:29 +00:00
jzmaddock
16ffd8b7e9 Fix typos in last commit 2019-03-27 18:58:35 +00:00
jzmaddock
05360ce5e8 Big reformat of cstdfloat header and code, removes the tabs. 2019-03-27 18:29:25 +00:00
jzmaddock
a9201f9a44 Add more cstdfloat functions for __float128 2019-03-26 19:57:11 +00:00
jzmaddock
f7f3e2301f Apply __float128 patches from Gero Peterhoff. 2019-03-24 19:08:49 +00:00
jzmaddock
072ebaac25 Apply numeric_limits patches for __float128 from Gero Peterhoff. 2019-03-22 19:45:35 +00:00
jzmaddock
08b7a6145f Correct lgamma multiprecision case to correctly return sign of tgamma when requested.
Found while testing 1F1.
2019-03-21 20:14:48 +00:00
jzmaddock
8d0a794b38 Suppress gcc warning from the use of Q constants when -pedantic is in effect 2019-03-02 19:43:41 +00:00
pulver
2ffd44200a Merge branch 'develop' into autodiff 2019-02-28 08:45:53 -05: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
pulver
4d8622d9bd Merge branch 'develop' into autodiff 2019-02-16 15:06:12 -05:00
Matt Pulver
1bf3ba6bd2 Fix example compiler requirements. Add <toolset>gcc-mingw:<cxxflags>-Wa,-mbig-obj to test/Jamefile.v2. Minor doc/code updates. 2019-02-14 10:54:42 -05: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
Matt Pulver
9418a4e2d4 Doc: Add sections Migrating Code, and Function Writing Guidelines. Additional math function overloads: acosh, asinh, atanh, cosh, erf, lambert_w0, sinc, sinh, tanh. Attempt to fix appveyor errors. 2019-02-12 07:43:04 -05:00
Nick Thompson
5212ce1276 Merge branch 'develop' into barycentric_move_constructor [CI SKIP] 2019-02-09 18:10:11 -07:00
pulver
04aeb5fdd9 Merge branch 'develop' into autodiff 2019-02-03 20:59:39 -05:00
Matt Pulver
7748f2ea19 Feedback from boostorg/math/#176 2019-02-03 20:45:35 -05:00
Nick Thompson
c6d6f876d5 Take advice from https://codereview.stackexchange.com/questions/210762/discrete-lanczos-derivatives [CI SKIP] 2019-02-01 15:25:00 -07:00
Nick Thompson
6742ed83f6 Merge branch 'develop' into barycentric_move_constructor [CI SKIP] 2019-02-01 11:21:23 -07:00
Nick Thompson
9362bae4fc Add extra cxx11 feature tests to example. Prevent macro substitution of min. Decrease length of unit tests for barycentric_rational from 90 seconds to 24 seconds. 2019-02-01 11:19:56 -07:00
Nick Thompson
c8dfc96f88 Merge commit [CI SKIP] 2019-01-29 17:34:41 -07:00
Nick Thompson
680719b0c8 Add test for exponential sum [CI SKIP] 2019-01-29 17:23:04 -07:00
Nick Thompson
4c48f2d6e2 Lanczos smoothing now works with boost::range [CI SKIP] 2019-01-29 12:46:52 -07:00
Nick Thompson
037b6fe5eb Add tests for std::array and boost::numeric::ublas::vector. Clean up docs. [CI SKIP] 2019-01-28 14:06:14 -07:00