Nick
dc373ee009
Merge pull request #107 from boostorg/ooura_fourier_transform
...
Ooura's method for computing Fourier sin and Fourier cosine… [CI SKIP]
2019-06-24 09:40:59 -04:00
Nick Thompson
8b90659666
Ooura Fourier integrals: Green up appveyor build.
2019-06-22 18:26:48 -04:00
Nick Thompson
118b18c248
Merge branch 'develop' into issue204
2019-06-22 09:29:01 -04:00
Nick Thompson
07dd1e2c91
Ooura Fourier integrals: Fix Appveyor build.
2019-06-22 09:27:36 -04:00
Nick Thompson
91ef47c0eb
Merge branch 'develop' into ooura_fourier_transform [CI SKIP]
2019-06-22 09:20:55 -04:00
Nick Thompson
95eef16b0b
Ooura Fourier integrals: Use (std::numeric_limits<Real>::min)() to compiile on windows.
2019-06-20 07:14:23 -04:00
Nick Thompson
3a8a44a327
Merge branch 'develop' into vector_barycentric
2019-06-19 07:21:03 -04:00
Nick Thompson
2d770b9d32
Vector barycentric rational: Enable compilation with containers which do not have multiplication/division/addition defined on them.
2019-06-17 08:28:45 -04:00
Nick Thompson
92f678b32a
Remove pessimistic comment about quality of memory estimate for nodes and weights. In addition, prevent push_back catastrophe. [CI SKIP]
2019-06-16 12:05:43 -04:00
Nick Thompson
8e3f5d50c8
Explain purpose of nodes/weights [CI SKIP]
2019-06-15 12:55:38 -04:00
Nick Thompson
bfb6689433
Remove gratuitous C++17isms from code.
2019-06-15 10:11:17 -04:00
Nick Thompson
92a14241f6
Meaningless commit to kick off another build
2019-06-14 21:43:55 -04:00
Nick Thompson
119c286bc6
Merge branch 'develop' into ooura_fourier_transform
2019-06-14 09:05:24 -04:00
Nick Thompson
6cd90d38d2
Improve documentation and kick off build.
2019-06-14 08:55:47 -04:00
jzmaddock
050679a933
Update test_roots.cpp to test in the negative half of the domain as well as the positive half.
...
Fix resulting bugs discovered.
Completes fix for https://github.com/boostorg/math/issues/216 .
2019-06-14 08:36:16 +01:00
Nick Thompson
81c92932a4
Get rid of scoped_lock to compile on clang. [CI SKIP]
2019-06-13 18:16:24 -04:00
jzmaddock
882fb5c76d
roots: Fix conceptual error in unpacking a single value.
2019-06-13 12:48:52 +01:00
John Maddock
2c46c4e9ca
Merge branch 'develop' into issue204
2019-06-13 11:53:18 +01:00
Nick Thompson
f38e74570b
Ooura Fourier Integrals: Return {I, err} rather than I [CI SKIP]
2019-06-12 07:09:09 -04:00
Nick Thompson
a6ca778176
Ooura Fourier Sine: Add levels after precomputed levels are exhausted. [CI SKIP]
2019-06-11 09:00:03 -04:00
Nick Thompson
f595b6a8f6
Cleanup before refactoring. [CI SKIP]
2019-06-11 07:21:24 -04:00
Nick Thompson
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]
2019-06-07 13:26:34 -04:00
Nick Thompson
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]
2019-06-07 12:49:23 -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
Nick Thompson
725544c1fb
small details [CI SKIP]
2019-06-04 12:13:59 -04:00
Nick Thompson
a48551221e
Merge branch 'ooura_fourier_transform' of https://github.com/boostorg/math into ooura_fourier_transform [CI SKIP]
2019-06-04 12:00:13 -04:00
Nick Thompson
b06fbdbc5f
merge develop [CI SKIP]
2019-06-04 11:54:51 -04:00
Nick Thompson
a97edb1139
Allow use of std::array [CI SKIP]
2019-06-04 11:47:17 -04:00
Nick
8f8b56019d
Add missing include [CI SKIP]
2019-06-04 10:28:34 -04: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
Nick
18feb0fc2a
Documentation, more unit tests [CI SKIP]
2019-05-30 13:25:53 -04:00
Nick Thompson
9e21a89675
fix move constructor use [CI SKIP]
2019-05-30 11:12:38 -04:00
Nick
2f725f0299
Tests for vector-valued barycentric rational. [CI SKIP]
2019-05-29 15:52:23 -04:00
Nick Thompson
1f9e18e63b
First pass at vector-valued interpolation in barycentric rational
2019-05-29 11:35:54 -04: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
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.
2019-05-26 09:56:22 +01:00
jzmaddock
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 .
2019-05-25 18:18:20 +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