Commit Graph

2189 Commits

Author SHA1 Message Date
jzmaddock
7a9ae5fd51 Add missing include guards. [CI SKIP] 2019-09-10 10:46:42 +01:00
Nick
4294260812
Merge pull request #245 from boostorg/deprecate_cubic_b_spline
Deprecate cubic B-spline for cardinal cubic B-spline [CI SKIP]
2019-08-30 08:02:41 -04:00
pabristow
22cdedec01 Merge branch 'compilance' into develop 2019-08-29 14:31:20 +01:00
Nick
2edf4a9790
Merge pull request #244 from boostorg/cardinal_quintic_b_spline_1
Cardinal quintic b spline 1
2019-08-29 09:02:43 -04:00
NAThompson
e8b9c12886 Make sure not to allow instantiation on integer types. [CI SKIP] 2019-08-29 09:02:20 -04:00
NAThompson
1f0c1bb8dc Documentation for Jacobi polynomials. 2019-08-28 16:21:03 -04:00
NAThompson
7c4f6e06e5 Merge develop [CI SKIP] 2019-08-28 15:52:21 -04:00
Nick
b543139d3a
Merge pull request #233 from boostorg/gegenbauer_1
Gegenbauer polynomials
2019-08-27 07:47:58 -04:00
NAThompson
1c6b7b50a3 Gegenbauer polynomials: Add gegenbauer_prime and kick off build. 2019-08-23 09:23:34 -04:00
pabristow
0ab00c3f9d [CI SKIP] changes to get inspect program problem-free, but one test failure in recurrence.cpp 2019-08-23 09:25:22 +01:00
NAThompson
caf1883788 Deprecate cubic B-spline for cardinal cubic B-spline [CI SKIP] 2019-08-22 09:35:05 -04:00
NAThompson
7364de0090 Cardinal Quintic B-spline: Derivative estimation. [CI SKIP] 2019-08-18 12:08:34 -04:00
NAThompson
648d2b0022 Merge branch 'develop' into cardinal_quintic_b_spline_1 2019-08-18 11:10:03 -04:00
Nick
cf48e191a6
Merge pull request #240 from boostorg/cardinal_b_spline_derivatives
Cardinal B-spline derivatives
2019-08-18 09:21:41 -04:00
NAThompson
1483516247 Cardinal quintic B-splines: First and second derivatives [CI SKIP] 2019-08-15 14:13:25 -04:00
NAThompson
d631d86efa Merge branch 'cardinal_b_spline_derivatives' into cardinal_quintic_b_spline_1 [CI SKIP] 2019-08-15 11:42:47 -04:00
NAThompson
4f9d284e83 Cardinal Quintic B-spline interpolator: Up and running. [CI SKIP] 2019-08-15 11:39:18 -04:00
jzmaddock
fd07b121a6 lgamma: correct spurious overflow in SSE2 optimized code.
Only evaluate the lanczos part if it will make a difference.
Add tests.
Fixes: https://github.com/boostorg/math/issues/242.
2019-08-13 21:45:18 +01:00
NAThompson
73429a3df5 Cardinal Quintic B-spline interpolator: First sketch. [CI SKIP] 2019-08-13 08:12:33 -04:00
NAThompson
3291ac891b Fix static assert with no message on C++11. 2019-08-13 07:54:07 -04:00
NAThompson
5c8fcb4cd5 Cardinal B-spline derivatives. 2019-08-12 10:07:06 -04:00
NAThompson
e327be5887 Cardinal B-spline derivatives [CI SKIP] 2019-08-11 14:52:47 -04:00
jzmaddock
b25f4c968f 1F1: Correct sign of values in cyl_bessel_i_shrinkage_rate.
Optimises which method is chosen.
Also correct rescaling in bessel_i_backwards_iterator so we don't get too close to zero and rely on type T having denorms.
2019-08-11 12:13:01 +01:00
jzmaddock
2393ebb937 Merge branch 'develop' of https://github.com/boostorg/math into develop 2019-08-11 08:43:28 +01:00
jzmaddock
46acbf840a Bernoulli: Correct overflow in find_bernoulli_overflow_limit.
Occurs when using a multiprecision type with very large exponent range (ie a long long exponent).
Fixes: https://github.com/boostorg/multiprecision/issues/151
2019-08-11 08:42:06 +01:00
NAThompson
357cc1528a Derivatives of trigonometric interpolant. 2019-08-09 08:39:52 -04:00
NAThompson
edfb80e76d Cubic B-spline second derivatives 2019-08-07 14:10:08 -04:00
NAThompson
09d3ee47cf Jacobi polynomials: Tests and derivatives [CI SKIP] 2019-08-06 09:53:58 -04:00
NAThompson
b5114e1c75 Jacobi polynomials [CI SKIP] 2019-08-05 08:43:14 -04:00
jzmaddock
c159693d7e 1F1: tidy up docs and suppress/fix some compiler warnings. 2019-08-05 13:17:42 +01:00
NAThompson
a733b75005 Gegenbauer polynomials: Implement derivatives. [CI SKIP] 2019-08-04 15:15:52 -04:00
NAThompson
9cc538d31c Gegenbauer polynomials: Fix include guards. [CI SKIP] 2019-08-04 13:11:03 -04:00
Nick Thompson
fc3e5d51a0 First pass at Gegenbauer polynomials. [CI SKIP] 2019-08-04 09:23:41 -04:00
jzmaddock
88dd510a4f
Merge pull request #148 from boostorg/hypergeometric_soc_2014
Hypergeometrics
2019-08-03 21:54:34 +01:00
jzmaddock
f3eafa4d34 1F1: Archive some interesting, but currently unused recurrence relations.
[CI SKIP]
2019-08-03 10:11:14 +01:00
jzmaddock
3130c30e4f pFq: Add tests for hypergeometric_pFq_precision.
Update docs.
Document recurrence tools.
2019-08-01 15:19:01 +01:00
jzmaddock
7e907f0832 1F1: correct PP-logic to be consistent.
[CI SKIP]
2019-07-29 10:56:44 +01:00
NAThompson
3277587ebc Cardinal trigonometric: Fix bug on last coefficient for an even number of samples. 2019-07-28 17:07:13 -04:00
jzmaddock
d0bdc5300b Hypergeometrics: Update to fix test failures, and improve reporting of compiler requirements. 2019-07-28 17:49:37 +01:00
jzmaddock
ae2caa30fd pFq: Change pnorm to p_abs_error.
Update docs to reflect the fact that this is an error estimate.
2019-07-28 17:48:04 +01:00
Nick Thompson
efb53a3c43 Cardinal trigonometric interpolation: Implement squared l2 norm. 2019-07-27 21:21:33 -04:00
Nick Thompson
27bc4146d9 Cardinal trigonometric interpolation. 2019-07-27 17:04:29 -04:00
jzmaddock
1511ec4d35 Merge branch 'develop' into hypergeometric_soc_2014 2019-07-19 18:55:27 +01:00
jzmaddock
ce43fd50a0 1F1: comment out unused variable. 2019-07-18 09:31:05 +01:00
NAThompson
48c3be4fe4 Hypergeometrics: Consistent casing [CI SKIP] 2019-07-17 15:56:50 -04:00
jzmaddock
1379a3518e pFq: Correct return type. 2019-07-17 18:22:42 +01:00
jzmaddock
036c5a4e7f pFq: correct some bugs found while testing q>1. 2019-07-17 18:22:09 +01:00
NAThompson
755ef2ddd6 Cardinal B-splines: Graphs, documentation, include. [CI SKIP] 2019-07-15 10:26:19 -04:00
jzmaddock
a3d019ae64 pFq: Add error handling to the series and update error estimate based on error in the pochhammer calculations. 2019-07-12 11:44:35 +01:00
jzmaddock
0ebf01ef26 pFq: Add initilizer_list overloads. 2019-07-12 11:43:23 +01:00
Nick
4be4fec1ef
Merge pull request #225 from boostorg/autodiff/lexical_cast
Remove lexical_cast<> dependencies.
2019-07-07 08:54:45 -04:00
jzmaddock
1c45b8f1c8 catmull_rom: correct sign of loop variable.
Corrects previous commit.
See: https://github.com/boostorg/math/issues/226
2019-07-07 09:22:45 +01:00
jzmaddock
0275428d5a Catmull_rom: fix vc12 and vc14 errors highlighted by the new tests. 2019-07-06 20:29:11 +01:00
John Maddock
1f86711491 Merge branch 'develop' of https://github.com/boostorg/math into develop 2019-07-06 09:02:21 +01:00
jzmaddock
ed38d8f556 catmull_rom.hpp: Added missing include.
Fix concept tests and add them to the Jamfile.v2
Fixes: https://github.com/boostorg/math/issues/226
2019-07-06 09:00:50 +01:00
Matt Pulver
ee4a4181f0 Remove lexical_cast<> dependencies. 2019-07-05 08:51:59 -04:00
pabristow
88df85466b [CI SKIP] Added more dianostic info and changed minimum tolerance to 2 * epsilon from epsilon /2. 2019-07-04 16:16:54 +01:00
jzmaddock
472e34efc4 Merge branch 'develop' into hypergeometric_soc_2014 2019-07-02 18:12:43 +01:00
jzmaddock
c6fb970ec6 1F1: Doc update. 2019-07-02 18:09:42 +01:00
jzmaddock
a7b5082d4b Simplify termination condition for detail::hypergeometric_series. 2019-07-02 17:43:50 +01:00
pabristow
a368b618c8 Warning fixes for MSVC 14.1 and 14.2 2019-07-02 17:36:07 +01:00
Nick
72af67491e
Merge pull request #220 from boostorg/cardinal_quadratic_b_spline
Cardinal quadratic B-spline interpolation.
2019-06-27 19:37:45 -04:00
Nick Thompson
8d549cd0cf Ooura Fourier integrals: Fix warnings on MSVC [CI SKIP] 2019-06-26 17:54:21 -04:00
Nick Thompson
a3b60e647f Cardinal quadratic B-spline interpolation. 2019-06-26 08:50:00 -04:00
Nick
21daaf9a90
Merge pull request #219 from boostorg/whittaker_shannon
Whittaker shannon
2019-06-26 06:58:27 -04:00
pulver
95defb67df
Add make_ftuple(), digamma(), lgamma(), tgamma(), doc/test updates. (#218)
Improve tests and coverage. C++11/14 support. (@kedarbhat)
2019-06-25 17:31:48 -07:00
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
260a3af015 Whittaker-Shannon: Update docs, implement derivatives. 2019-06-24 08:28:14 -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
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
3a8a44a327 Merge branch 'develop' into vector_barycentric 2019-06-19 07:21:03 -04:00
Nick Thompson
a1149ce7f0 Whittaker-Shannon interpolation: Use PIMPL idiom. [CI SKIP] 2019-06-19 06:53:01 -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
jzmaddock
7c87ee09d4 recurrence.hpp: Fix rescaling code. 2019-06-04 17:53:00 +01:00
jzmaddock
239134c5f5 1F1: Correct conceptual error. 2019-06-04 17:52:21 +01:00
jzmaddock
9a30204a6c Gamma: make sure lgamma returns the sign of result correctly in the multiprecision case. 2019-06-04 17:51:44 +01:00
jzmaddock
aec0e833f0 pFq: lots of rescaling fixes. 2019-06-04 17:51:03 +01:00
jzmaddock
f821c4e373 1F1: If recursion would result in too many steps, try the series instead. 2019-06-04 17:50:13 +01:00
jzmaddock
e1f2c68cbe 1F1: Add missing using declaration in large_abz case. 2019-06-04 17:49:15 +01:00