Commit Graph

1759 Commits

Author SHA1 Message Date
jzmaddock
0f3365c576 test_roots.cpp: Fix macro usage (again), also split up CI tests a bit more to handle timeouts. 2018-12-10 19:31:42 +00:00
jzmaddock
0816bf0e87 1F1: improve bessel function failure modes, and improve selection logic. 2018-12-10 19:26:56 +00:00
Nick Thompson
9ec255e82a Merge branch 'develop' into sequence_tools [CI SKIP] 2018-12-10 12:19:03 -07:00
Nick Thompson
94ceca1e43 Split descriptive_statistics.hpp into univariate_statistics.hpp and a currently-hypothetical bivariate_statistics.hpp [CI SKIP] 2018-12-10 12:05:05 -07:00
jzmaddock
bf1b9729be test_roots.cpp: Fix Boost.Config macro usage from merged PR. 2018-12-09 08:54:02 +00:00
Nick Thompson
1a246db791 Change from vector_functionals.hpp to descriptive_statistics.hpp and norms.hpp. 2018-12-08 20:53:14 -07:00
Nick Thompson
5f143244f5 Fully qualify std::nth_element, add tests for std::array. [CI SKIP] 2018-12-08 14:09:21 -07:00
Nick Thompson
37c9b68aa6 Merge branch 'develop' into sequence_tools [CI SKIP] 2018-12-08 12:29:36 -07:00
Nick Thompson
b7dabe272c Add branches for integral input types where sensible. [CI SKIP] 2018-12-08 12:29:05 -07:00
Nick Thompson
5a0ff712bd Add range calls. [CI SKIP] 2018-12-08 11:11:35 -07:00
Nick Thompson
bce92d78ba Add Shannon entropy and kick off build. 2018-12-07 18:44:40 -07:00
Nick Thompson
60f653a1fe L1 and L2 norms. [CI SKIP] 2018-12-07 15:05:14 -07:00
Nick Thompson
53d4ffe99e Merge branch 'develop' into sequence_tools 2018-12-07 10:35:50 -07:00
Nick Thompson
5818b07728 Make sure huge roots and tiny roots are found. [CI SKIP] 2018-12-07 10:35:02 -07:00
Nick Thompson
d2bf1b18fd Merge branch 'develop' into complex_newton 2018-12-07 09:03:08 -07:00
Nick Thompson
a9985e3e1c Hoyer sparsity [CI SKIP] 2018-12-07 09:02:25 -07:00
jzmaddock
0152cfa2a9 Incomplete gamma: add asymptotic approximation for large argument.
Allows the functions to be used with very large (or infinite) argument.
Fixes: https://github.com/boostorg/math/issues/168.
2018-12-07 09:37:50 +00:00
Nick Thompson
aa43b5b52b Vector functionals, first pass [CI SKIP] 2018-12-06 20:33:05 -07:00
Nick Thompson
37336e2372 Merge branch 'develop' into complex_newton 2018-12-04 14:28:52 -07:00
Nick Thompson
cb71b06c10 You would think a double precision complex division would be the same on every compiler. You would be wrong. 2018-12-04 14:28:04 -07:00
Nick Thompson
6e25e27d01 Merge branch 'develop' into complex_newton 2018-12-04 11:09:06 -07:00
Nick Thompson
8c6740463a Meaningless commit to kick off CI build. 2018-12-03 17:06:21 -07:00
Nick Thompson
baddf9509a The move constructor is 30% faster than the copy; hence remove the data copy and only allow move construction. [CI SKIP] 2018-12-02 13:34:51 -07:00
Nick Thompson
5169fc9e75 Actually test the initializer list constructor [CI SKIP] 2018-12-02 12:04:31 -07:00
jzmaddock
c0f236e251 Merge branch 'develop' into catmull_rom
Fixed Conflicts:
	doc/Jamfile.v2

Corrected some doc formatting, and regenerated the docs.
2018-12-01 19:38:16 +00:00
jzmaddock
33d3d0942f Merge branch 'polynomial_constructor' into develop 2018-12-01 11:21:27 +00:00
jzmaddock
0a46a6530a test_polynomial.cpp: Fix defect macro usage and use BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX. 2018-12-01 09:57:35 +00:00
jzmaddock
451afc3102 Fix polynomial template constructors. 2018-11-30 19:31:51 +00:00
Nick Thompson
66373a0b22 Fix failing unit test by using semi-scale invariant termination criteria. [CI SKIP] 2018-11-28 14:35:34 -07:00
Nick Thompson
24694847dc Attempt to green up build by making it more obvious that the initializer list constructor should be called. 2018-11-28 13:35:10 -07:00
Nick Thompson
af5b91a5be Let x* be the root of f. Add failing unit test for function such that f(x*) > sqrt(eps). [CI SKIP] 2018-11-26 14:10:14 -07:00
Nick Thompson
3b62d7cd72 Trivial changes to green up build. 2018-11-25 11:23:06 -07:00
Nick Thompson
f78578b42b Remove float128 tests to green up builds. Plenty of multiprecision is being tested as it stands. 2018-11-25 01:24:19 -07:00
Nick Thompson
3ab69d00ee Complex Newton's method. Zero derivatives handled by Muller's Method. 2018-11-25 00:19:11 -07:00
Nick Thompson
eb042c06d8 Only run tests requiring C++11 in C++11 mode. 2018-11-24 18:10:06 -07:00
Nick Thompson
54f475e58f Add call operator, .prime(), .integrate(), and move constructor to polynomial.hpp 2018-11-14 17:04:57 -07:00
jzmaddock
22223d5434 CI: Move some tests from "misc" to "distribution_tests" for load balancing reasons. 2018-11-14 19:13:46 +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
9cad7b0ccf Apply some workarounds for failing CI tests. 2018-11-10 18:03:07 +00:00
jzmaddock
bfb204937e Hypergeometric 1F1: Tentatively fix more issues. 2018-11-07 16:23:35 +00:00
Nick Thompson
096595facc Merge branch 'develop' into catmull_rom
Merge develop [CI SKIP]
2018-10-31 10:42:00 -06:00
Nick Thompson
c81919ff26 Remove typos and unused variables. 2018-10-30 14:39:49 -06:00
Nick Thompson
ea0128205e Consolidate constexp constant tests into single section. Remove unused typedef from Lambert-W integral tests. Update README.md with CI status. [CI SKIP] 2018-10-30 13:38:31 -06:00
Nick Thompson
c0e93a9817 Fix excessive warnings from underflow, raise error rates slightly to fix test failures on clang 1000.11.45.2 2018-10-30 12:38:10 -06:00
Nick Thompson
26b30a36c7 Add requires syntax to green up some builds. 2018-10-29 12:31:48 -06:00
Nick Thompson
381f663517 Merge and run CI 2018-10-28 23:27:41 -06:00
jzmaddock
cd626ffc89 1F1: Correct erroneous test data.
[CI SKIP]
2018-10-27 13:37:27 +01:00
jzmaddock
7c800ddf0a remove stray {}'s 2018-10-23 20:08:16 +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
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
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
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
049c670409 Add another test case for tanh_sinh complex support, and update docs with examples. 2018-10-11 08:49:05 +01:00
jzmaddock
5eca86157b Modify tanh_sinh to work with complex integrals. 2018-10-08 20:45:15 +01:00
jzmaddock
7abfa952cd Switch a couple of tests to release mode to reduce object file sizes. 2018-10-02 18:45:07 +01:00
jzmaddock
628ffd1c80
Merge branch 'develop' into rational_derivatives 2018-09-02 12:58:59 +01:00
jzmaddock
3b7cbe6be6 CI fixes: adjust lambertW expected error rates. 2018-09-01 18:46:33 +01:00
jzmaddock
79871fe747 LambertW: CI fixes.
Fix definition of lambert_w0_small_z_series_term.
Move rational approximations into smaller functions to try and keep msvc happy.
2018-08-31 19:53:34 +01:00
jzmaddock
02c7df005d LambertW: Fix more CI failures:
Add fallback for 128-bit lambertW implementation.
Disable real_concept tests for msvc-12 and earlier as the compiler can't cope.
2018-08-31 09:56:03 +01:00
Nick Thompson
8004239d23 [CI SKIP] Fix build error by explicitly changing float128 to boost::multiprecision::float128 2018-08-31 09:37:00 +08:00
jzmaddock
982d82b2b5 LambertW: Hook up real_concept tests and fix resulting errors. 2018-08-30 19:48:27 +01:00
jzmaddock
424eeffdd3 LambertW: Add max_digits10 to numeric_limits specialization in std_real_concept_check.cpp. 2018-08-30 19:16:14 +01:00
jzmaddock
3104f3ad79 LambertW: Fix for types with no numeric_limits.
Configuration fix for __float128 support.
2018-08-30 18:47:40 +01:00
jzmaddock
bed980e202 Merge branch 'develop' into lambertw 2018-08-30 10:17:19 +01:00
jzmaddock
3abd04ce50 LambertW: Hook up concept checks, and fix failures. 2018-08-30 08:57:35 +01:00
jzmaddock
45b86cf115 LambertW: Fix up GCC support.
Split tests into smaller units so as not to generate over-large object files.
2018-08-29 19:34:30 +01:00
jzmaddock
50c014abdc LambertW: further improvements to code coverage. 2018-08-28 17:23:02 +01:00
jzmaddock
460e50a1fc LambertW: Add test data for very large values. 2018-08-27 19:48:59 +01:00
jzmaddock
10e6f0d68f Lambert W: Add tests near the singularity.
Fix a couple of minor issues in the implementation to improve error rates.
NB: errors very near the singularity are still very high - this is an intrinsic property of the function - we are solving z = w exp(w) for w, but there are actually a wide range of w values which satisfy the equation once we get very close to the singularity.
2018-08-26 19:51:15 +01:00
jzmaddock
a1d658aed1 LambertW: start to split tests into smaller chunks. 2018-08-23 10:26:17 +01:00
jzmaddock
c04b83bf15 LambertW: Moved some files around, deleted dead ones. 2018-08-22 19:33:49 +01:00
jzmaddock
5edc682dac test_lambert_w.cpp: tidy up macro usage. 2018-08-22 19:32:00 +01:00
jzmaddock
91c193d2d2 Improve heuristics used in newton_raphson_iterate.
Copies heuristics already in place for halley_iterate for the case where convergence fails.
Fixes: https://github.com/boostorg/math/issues/145
2018-08-19 16:27:45 +01:00
pabristow
c9f272ec1c Lambert W much modified to remove control of precision with policy and docs to match 2018-08-01 16:55:27 +01:00
jzmaddock
6389878e77 naive_monte_carlo_test.cpp: correct #if block and fix Jamfile.v2 mistake (missing whitespace). 2018-07-30 09:09:19 +01:00
jzmaddock
60f1dae81e Update test Jamfile.v2 with more targets using /bigobj under msvc 2018-07-29 19:11:50 +01:00
jzmaddock
8e9c35a26d Fix test_classify.cpp to not negate INT_MIN: See https://github.com/boostorg/math/issues/135 2018-07-29 18:29:38 +01:00
jzmaddock
797ee52fcd Correct test_round.cpp so it doesn't invoke undefined behavior: see https://github.com/boostorg/math/issues/135 2018-07-29 18:23:22 +01:00
jzmaddock
177c642cbc Big GCC warning fix - see https://github.com/boostorg/math/issues/136 2018-07-28 11:33:41 +01:00
pabristow
dcc8544578 Major edit done and graphs now show legend lines. 2018-07-24 11:24:20 +01:00
pabristow
aaa38c3fee first draft of no-precision policy version. 2018-07-17 17:39:27 +01:00
pabristow
cf52501842 Tests pass for VS, GCC8.1, integrals and derivatives, Clang 600 without integrals and without derivatives. 2018-07-11 18:26:25 +01:00
pabristow
691f2a5852 Integration tests improved with simpler lambert W 2018-07-11 15:42:19 +01:00
jzmaddock
a2f228ca88 CI: Move some tests from misc to special_functions test group to try and avoid timeouts. 2018-07-02 13:37:49 +01:00
jzmaddock
b7074917a2 Fix gcc-8 failures in test case:
calls to bessel functions need to be disambiguated.
2018-07-02 13:36:59 +01:00
Brian Kuhl
bb6bdc4c61 Use <boost::math::policies::real> instead of <real>
Dinkum STL declares and inline real() function in the global namespace that clang can not distinguish from policies::real otherwise
2018-06-24 22:41:39 -04:00
jzmaddock
838dd94193 sinc_pi: simplify and correct taylor series usage, improve tests.
See https://svn.boost.org/trac10/ticket/13606.
2018-06-19 18:26:43 +01:00
jzmaddock
47b022cb3a exp_sinh_quadrature_test.cpp: adjust expected error rates for real_concept. 2018-06-18 08:59:41 +01:00
jzmaddock
ed83cdda6f Merge branch 'develop' of https://github.com/boostorg/math into develop 2018-06-17 19:16:57 +01:00
jzmaddock
658945d508 Improve sinc approximations and add better tests.
Fixes: https://svn.boost.org/trac10/ticket/13606 and https://svn.boost.org/trac10/ticket/13603.
2018-06-17 19:10:46 +01:00
jzmaddock
7532ed9891
Merge pull request #128 from boostorg/complex_sinh_sinh
Support for complex-valued integrands in sinh-sinh quadrature.
2018-06-12 18:00:14 +01:00
Nick Thompson
cb954798d7 Support for complex-valued integrands in sinh-sinh quadrature. 2018-06-12 13:11:52 +08:00
jzmaddock
52c1f1c932 Fix 2 minor CI failures. 2018-06-02 13:35:26 +01:00
jzmaddock
ed79dd53f0 Try not to break std lib code when concept testing are own.
See: https://github.com/boostorg/math/issues/126.
2018-06-01 09:18:07 +01:00
jzmaddock
c43027e86f tanh_sinh_quadrature_test.cpp: Up expected error rate on one failing test. 2018-05-25 11:13:36 +01:00
jzmaddock
5839b19968 Update exp_sinh_quadrature_test.cpp to fix msvc test failure. 2018-05-21 18:28:40 +01:00
pabristow
23ecd1a1c0 All changes before getting develop up-to-date. 2018-05-15 14:00:34 +01:00
Nick Thompson
8e8d02f3cb Loosen up exp-sinh quadrature error to green build. 2018-05-06 10:25:39 +08:00
Nick Thompson
e0ffb3878d Loosen up error bound to green up build. 2018-05-05 14:40:20 +08:00
Nick Thompson
9d22c55d4a Merge branch 'develop' into rational_derivatives 2018-05-05 10:02:02 +08:00
Nick Thompson
0d67b045ae [CI SKIP] Merge branch 'develop' into complex_exp_sinh 2018-05-05 10:00:42 +08:00
jzmaddock
f73932460a Merge branch 'develop' into warning_removal_2
Restrict warning suppression to gcc > 4.8.
2018-05-04 19:27:47 +01:00
Nick Thompson
728b6949ed Complex valued integrand support for exp-sinh quadrature 2018-05-03 12:19:04 +08:00
Nick Thompson
157e33a516 [CI SKIP] Merge develop 2018-05-03 09:22:53 +08:00
Nick Thompson
60aa168556 Fix cpp_dec_float. 2018-05-02 09:31:09 +08:00
jzmaddock
219fa40821 Gauss - update tests to use static integrate member. 2018-05-01 19:04:37 +01:00
Nick Thompson
ea6acb3855 [CI SKIP] Real->{Real, Complex} integrand support for Gauss-Kronrod quadrature. 2018-05-01 15:50:55 +08:00
jzmaddock
e1a09b1f8e Gauss-complex - functions can still be static, simply error return. 2018-04-30 19:54:08 +01:00
jzmaddock
60640d3497 Merge branch 'develop' into gauss_complex
Simplify error handler return.
2018-04-30 17:59:58 +01:00
jzmaddock
5720a040ee Update test_trapezoidal.cpp error rates and fix float128 build settings. 2018-04-30 08:45:21 +01:00
Nick Thompson
27015f14bb [CI SKIP] Failing unit test for complex_128 2018-04-25 09:48:22 +08:00
Nick Thompson
e56e343435 Fix build errors. 2018-04-14 09:38:02 +08:00
Nick Thompson
f97ac993bd Try to fix build error. 2018-04-13 23:32:02 +08:00
Nick Thompson
84d36d785c Add derivative of barycentric rational interpolation. 2018-04-13 20:19:46 +08:00
Nick
aa3c3fdc01
Forgot to comment mpc.hpp before build 2018-04-06 20:42:58 -05:00
Nick Thompson
13b2070fef [CI SKIP] Update quadrature. 2018-04-05 20:14:16 +08:00
Nick Thompson
969a29a7a4 Merge branch 'contour_integration' into gauss_complex 2018-04-05 13:34:32 +08:00
Nick Thompson
175d1e7e2c Increase error bound in bump function due to floating point reordering due to refactoring to support R->C functions. 2018-04-05 08:34:08 +08:00
Nick Thompson
90273e12a7 Fix C++11/C++17 incompatibility by typdefs. Increase default max refinements. 2018-04-03 11:07:03 +08:00
Nick Thompson
37ec3fcaed [CI SKIP] Increase max refinements so that a larger number of digits can be recovered. 2018-04-01 16:43:04 +08:00
Nick Thompson
9bfcbf4a24 Merge branch 'develop' into contour_integration 2018-03-31 14:55:17 +08:00
Nick Thompson
c830e50506 Add erfc computed via trapezoidal quadrature. 2018-03-31 14:25:11 +08:00
Nick Thompson
6c427b81a4 [CI SKIP] Constructor disallowed by mpc.hpp 2018-03-31 13:00:56 +08:00
Nick Thompson
cf0201fa3d [CI SKIP] Gaussian quadrature now works with MPC 2018-03-22 10:47:29 +08:00
Nick Thompson
41a3a15a4d Add compiler requirements of uniform initialization syntax and (ham-handed) variadic template support to approximate std::result_of_t. 2018-03-21 13:20:02 +08:00
Nick Thompson
7a3803de05 [CI SKIP] Small diffs to make compilation more smooth. 2018-03-21 11:15:36 +08:00
Nick Thompson
3fb1409f49 Compile and include test also need to have C++11 support now. 2018-03-20 19:16:25 +08:00
Nick Thompson
3c90b8a856 Incredibly stupid bug which makes the previous build worthless. 2018-03-20 14:35:03 +08:00
Nick Thompson
03fb931f5e [CI SKIP] Workaround for now. 2018-03-20 14:26:28 +08:00
Nick Thompson
4c2088a789 Test Modified Bessel function. 2018-03-20 10:52:56 +08:00
Nick Thompson
1f5cea80ff [CI SKIP] Gaussian quadrature to support Real->Complex. 2018-03-18 20:55:11 +08:00
jzmaddock
64e29bd874 naive_monte_carlo: Set a maximum number of retries and add some diagnostic info for when things go wrong. 2018-03-17 19:05:52 +00:00
Nick Thompson
190fb1710d [CI SKIP] The trapezoidal quadrature now works with contour integrals. 2018-03-17 23:35:44 +08:00
Nick Thompson
babead7504 Remove pile of warnings so that the build log is easier to search through. 2018-03-17 16:39:17 +08:00
Nick Thompson
d30b7d62ef Update trapezoidal quadrature so that it can handle contour integrals. 2018-03-16 15:33:25 +08:00
jzmaddock
789f1ce240 Merge branch 'develop' of https://github.com/boostorg/math into develop 2018-03-15 13:27:34 +00:00
jzmaddock
ae01c2bb4e naive_monte_carlo_test.cpp: move some tests around to avoid over-large object files. 2018-03-15 13:27:18 +00:00
Jie
f36121d554 [ci skip] Warning removal. 2018-03-15 12:19:24 +08:00
jzmaddock
96b4041ad2 naive_monte_carlo_test.cpp: split into yet smaller portions, and get rid of /bigobj. 2018-03-14 18:31:58 +00:00
jzmaddock
8263efaef3 Merge branch 'develop' of https://github.com/boostorg/math into develop 2018-03-13 18:57:22 +00:00
jzmaddock
78ac09cf3d naive_monte_carlo_test.cpp: split into smaller units so we get fewer "object size too large" errors, and hopefully zero in on persistent but non-reproducable test failures. 2018-03-13 18:57:01 +00:00
Nick Thompson
529a76b72c Use uint64_t rather than size_t to get some reproducibility on 32 bit platforms. Make sure that the final variance is within the error bounds. 2018-03-13 13:17:22 +08:00
Nick Thompson
c2f68a4c1d Attempt to diagnose test failure for alternative RNGs in Monte-Carlo integration by adding more unit tests. 2018-03-13 08:11:08 +08:00
John Maddock
4dcdbc2a2a Update error rates in docs [CI SKIP] 2018-03-08 16:42:47 +00:00
jzmaddock
510d24ba5c Jamfile: turn off pch for __temporary_test.cpp as it pulls in too much stuff. 2018-03-03 08:20:23 +00:00
pabristow
3f1e3602ba Quadrature error diagnosis improved 2018-02-27 13:20:37 +00:00
jzmaddock
4060ec671d temp test: still trying to diagnose test matrix failures.
Switched to use test_instances lib.
[CI SKIP]
2018-02-26 18:30:59 +00:00
jzmaddock
6118910da3 Temporary test: Try again to diagnose test runner errors.
[CI SKIP]
2018-02-25 13:35:51 +00:00
jzmaddock
b5c4200ea5 Update std_real_concept_tests: we were missing a couple of test cases. 2018-02-24 18:39:14 +00:00
jzmaddock
36182f5fcb Add temporary test file to probe test matrix failures.
[CI SKIP]
2018-02-24 17:18:27 +00:00
jzmaddock
ddbc23042f Remove obsolete temporary tests.
[CI SKIP]
2018-02-24 17:17:46 +00:00
jzmaddock
0e9a9d340a Merge branch 'develop' of https://github.com/boostorg/math into develop
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2018-02-24 16:58:13 +00:00
jzmaddock
324a047f1e Uncomment #define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS which appears to have been accidentally disabled.
Disable some long double tests when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is set.
2018-02-22 18:25:02 +00:00
pabristow
05474951a3 demo of a diagnosing integrating bad functions and tests of primes 2018-02-22 18:16:52 +00:00
Nick Thompson
f7f4a8999b [ci skip] Add more informative error message to the test so that failures can understood more thoroughly. 2018-02-22 11:07:23 -06:00
jzmaddock
0225f62108 legendre_stieltjes_test.cpp: update expected error rates.
[CI SKIP]
2018-02-21 19:40:56 +00:00
jzmaddock
f33bcd5488 Chebyshev expected error rates are too strict - relax them a little.
[CI SKIP]
2018-02-21 19:33:01 +00:00
pabristow
1e1059f37f tested OK using test_integrals 2018-02-20 17:04:28 +00:00
jzmaddock
e627adfef2
Merge pull request #94 from boostorg/naive_monte_carlo
Naive monte carlo integration
2018-02-20 08:11:00 +00:00
jzmaddock
ce7a8bc918 monte carlo integration: Change to use unique_ptr rather than map internally.
Fix msvc object size issues.
2018-02-19 19:39:00 +00:00
pabristow
2a34f3c340 Restore current files after merge went wrong. 2018-02-19 17:30:57 +00:00
pabristow
a24c2c174d add test_value.hpp 2018-02-19 17:14:02 +00:00
pabristow
de4d578fc5 deconflict lambert_w.hpp 2018-02-19 16:54:52 +00:00
Nick Thompson
33ce9eb94e Swap out boost::atomic with std::atomic to determine how widespread compiler support is via the CI system. Replace RNG with RandomNumberGenerator to protect against weird macros. 2018-02-18 17:19:42 -06:00
Nick Thompson
cfd81335e9 [ci skip] Fix merge conflict from develop 2018-02-17 18:05:02 -06:00
Nick Thompson
ca66072ac9 [ci skip] Fix infinite limit transforms. Add user option to provide alternative random number generator. Allow deterministic seed for testing, though this is still not fully deterministic. Reduce time between observations. 2018-02-17 17:41:06 -06:00
jzmaddock
71b9239bfc monte carlo integration: split test into small chunks so we don't get over-large object sizes with msvc 64-bit. Add Boost.Atomic as a dependency. 2018-02-17 09:17:20 +00:00
Nick Thompson
73a18c91c5 [ci skip] Fix up polynomial_gcd unit test. Also fix broken chebyshev transform test. 2018-02-16 15:51:04 -06:00
Nick Thompson
d30f2d5927 [ci skip] Remove gcd tests from boost.math 2018-02-16 12:43:15 -06:00
jzmaddock
073e7a7196 Merge branch 'develop' into naive_monte_carlo 2018-02-16 17:59:00 +00:00
jzmaddock
9d5ac9143b naive_monte_carlo: suppress known test failures, and fix lots of warnings. 2018-02-15 20:11:23 +00:00
jzmaddock
c6b734a791
Merge pull request #110 from boostorg/pr64
Integration test PR64
2018-02-13 19:47:54 +00:00
Nick Thompson
a069b60588 [ci skip] Perturb boundaries rather than range of random number generator to ensure that singularities aren't hit in the integrand. Note that this breaks the double infinite limits; I need to let that one stew a bit before figuring out how to deal with it. Let the user specify if the integrand is singular, since peeling a high-dimensional orange leaves almost nothing. 2018-02-12 15:57:25 -06:00
jzmaddock
7403cbbd43 Make table driven functions constexpr:
unchecked_factorial, unchecked_bernoulli_b2n and prime.
2018-02-11 19:59:26 +00:00
jzmaddock
d32258fcea Numeric differentiation: make some trivial changes so we don't need C++17.
Update Jamfile to exclude testing compilers which can't handle the tests.
2018-02-11 17:52:22 +00:00
jzmaddock
f4dfb9088f Merge branch 'numerical_differentiation_2' of https://github.com/NAThompson/math into pr64
Fixed Conflicts:
   include/boost/math/concepts/std_real_concept.hpp
   test/Jamfile.v2

Changes:
   Minor changes to get things compiling with msvc.
2018-02-11 16:33:41 +00:00
Nick Thompson
353c2e0fd4 [ci skip] Remove hyperbolic language related to complex step derivative. Ensure macro substitution of 'max' doesn't break routines. Add copyright notices. 2018-02-10 16:24:16 -06:00
Nick Thompson
4b55b42268 [ci skip] Use C++17 'if constexp' to avoid branch. Modularize stepsize logic into single call. Do not assume 3ULP evaluation in error, assume 1ULP. Add reference to great numerical analysis text which also promotes these methods and clean up documentation. 2018-02-09 11:53:44 -06:00
Nick Thompson
2718dded89 [ci skip] Ooura's method for computing Fourier sin and Fourier cosine transforms. 2018-02-06 13:15:56 -06:00
Nick Thompson
5e78b298da [ci skip] Use Unix-style paths. Add tests for lambert-W testing integrals of the Lambert-W function. 2018-02-02 21:33:54 -06:00
pabristow
b4ffbedf1e Change to use JM W0 version. 2018-01-30 12:11:03 +00:00
Nick Thompson
cea481a3d0 [ci skip] Use deterministic seed for random unit test. 2018-01-27 14:57:08 -06:00
Nick Thompson
1781d47b78 [ci skip] Clarify conditions on the template point type. Add include and concept test. 2018-01-27 14:44:15 -06:00
pabristow
6d73d8f517 commit so can switch to develop (problem in one polynomial nearest singularity 2018-01-23 14:38:56 +00:00
jzmaddock
da9d77ef2e Hypergeometric: Begin fixing errors from large params in 1F1 2018-01-20 17:48:51 +00:00
jzmaddock
5a1f4d90ba Hypergeometric: start testing larger arguments to 1F1 and begin to fix the errors. 2018-01-20 17:46:57 +00:00
Nick Thompson
c55dc86c0c Test Radovic function. 2018-01-16 10:59:30 -06:00
Nick Thompson
a13c7e9ab0 Double infinite limits. 2018-01-11 12:08:53 -06:00
Nick Thompson
d5eb6e3995 Support infinite lower and upper bounds. 2018-01-11 11:39:21 -06:00
Nick Thompson
08550d4064 3 template arguments -> 1 template argument. 2018-01-10 14:08:23 -06:00
Nick Thompson
e137fffa63 Loosen up tolerance in unit tests to prevent spurious failures. 2018-01-10 12:03:42 -06:00
Nick Thompson
2f37a3643b Add unit tests and clean up docs for naive_monte_carlo integration. 2018-01-09 12:27:38 -06:00
Nick Thompson
577ee425a4 Add test showing that helices are interpolated correctly by the Catmull-Rom class. 2017-12-24 13:22:30 -07:00
Nick Thompson
50af4ad3e7 Test that circles are correctly interpolated by the Catmull-Rom class. 2017-12-24 11:49:04 -07:00
Nick Thompson
0f007c23c6 Reuse temporaries to increase performance. 2017-12-23 17:06:20 -07:00
Nick Thompson
9dce6d8bb9 Catmull-Rom: Add example and test to build, update docs. 2017-12-22 23:30:31 -07:00
Nick Thompson
1a29ce99c6 Demonstrate affine invariance of Catmull-Rom splines. 2017-12-22 21:52:52 -07:00
Nick Thompson
4cce07e15e Implement tangent vector computation. Fix index lookup. Close all Catmull-Rom curves and document. 2017-12-22 16:31:36 -07:00
Nick Thompson
cad34ff756 First pass at a Catmull-Rom curve interpolator. 2017-12-21 16:12:24 -07:00
Nick Thompson
387e0db3e1 Link pthreads on linux. 2017-12-20 12:35:19 -07:00
pabristow
eff8ec3c74 Tidy before getting uptodate with develop branch 2017-12-07 16:44:33 +00:00
jzmaddock
15a1156b4c Math.Hypergeometric_1F1: Update tests for small random values, fix resulting errors. 2017-12-02 19:10:50 +00:00
Nick Thompson
d53284370a Use ADL to green some more builds. Add requirements to build on Chebyshev transform. 2017-11-29 15:09:20 -07:00
Nick Thompson
401e353385 Hopefully get a few more builds green; eliminate compiler warnings. 2017-11-28 08:41:23 -06:00
Nick Thompson
e83284d482 Add more feature flags. Think I still need to link pthread. 2017-11-27 22:40:28 -06:00
Nick Thompson
870b003fd3 Add requires cxx11_* to unit tests. 2017-11-27 15:52:50 -06:00
Nick Thompson
736cc6e7a3 Fix typo and hopefully build. 2017-11-27 14:33:37 -06:00
pabristow
66067c3b6b Added include to test_value to ensure that when used standalone with GCC that supports suffix Q, multiprecision float128 is included. 2017-11-24 16:53:18 +00:00
Nick Thompson
57ba888a50 Unit test variance. 2017-11-23 14:18:05 -07:00
Nick Thompson
773076475c Fix exception safety in threads. 2017-11-23 10:53:35 -07:00
Nick Thompson
a0e9b34d06 Atomic long doubles don't link with gcc 7.1 2017-11-22 11:08:17 -07:00
Nick Thompson
67578ce12b Naive Monte-Carlo integration. Still needs to handle exceptions in threads. 2017-11-21 18:49:14 -07:00
pabristow
9b9414c256 numerous minor fixes for JM 1st comments on docs 19Nov17 2017-11-20 17:03:29 +00:00
jzmaddock
be326922dc Math: add start of 1F1 implementation. 2017-11-19 11:58:26 +00:00
pabristow
80b4bf3bef Change to jamfile 2017-11-18 12:02:51 +00:00
pabristow
21ccf8b183 More testing near zero and some typos fixed. 2017-11-17 17:57:45 +00:00
pabristow
6aa9f286ff Tests OK, including multiprecision. 2017-11-16 17:58:59 +00:00
jzmaddock
587f2d8918 Math.Hypergeometric: Add 2F0 function and tests.
Also fix a couple of warnings in test_data.hpp, and improve the continued fraction form in 0F1.
2017-11-15 18:27:35 +00:00
jzmaddock
1783c3a74c Math: Fix inspection report errors. 2017-11-09 19:39:32 +00:00
pabristow
89ae728836 added graphs and updated docs to use them. 2017-11-06 17:18:33 +00:00
pabristow
3c3c91709f w-1 branch improvements and tests OK 2017-11-02 18:47:30 +00:00
jzmaddock
772efdb32b Math.Quaternion: Add workarounds for older msvc versions. 2017-11-02 11:02:37 +00:00
jzmaddock
7c9f95fdac Math.Quaternion: We need libquadmath when available on the link line. 2017-11-02 10:14:40 +00:00
jzmaddock
47fa45bee4 Import SOC headers, Test and fix up 1F0 and 0F1. 2017-10-29 19:33:39 +00:00
pabristow
04121d2872 Lambert w for huge z added, and test and more docs 2017-10-28 19:13:58 +01:00
pabristow
f51d987acd added much on W-1 branch (handling tiny z), and more docs. 2017-10-27 18:18:06 +01:00
pabristow
d01d0c4eb8 Working version with C array of precomputed lookup tables, but still inline inside 2017-10-13 09:43:39 +01:00
pabristow
dd06d2beae 100 decimal digit precision values and tests OK. 2017-10-10 15:13:49 +01:00
jzmaddock
cba26dfeca Math.Quaternion: add missing test file. 2017-10-07 08:06:17 +01:00
jzmaddock
97f61f0020 Math.Quaternion: Add workarounds for older compilers and fix up constexpr support. 2017-10-06 19:22:45 +01:00
jzmaddock
94e92dc5f4 Math.Quaternion: add swap method. 2017-10-05 18:12:24 +01:00
jzmaddock
601ee6e00f Math.Quaternion: Rewrite test program, mostly remove valarray usage from header. 2017-10-05 12:50:24 +01:00
John Maddock
2eabd87de1 Math.Chebyshev: Fix up chebeshev_transform for more types. 2017-09-21 19:13:36 +01:00
jzmaddock
9ee7a93678 Math.Chebyshev: Modify chebyshev_transform to dispatch to correct fftw3 functions.
Begin to hook up fftw3 tests.
2017-09-21 13:40:23 +01:00
jzmaddock
a1c18789a0 Math.chebyshev: Hook up conceptual tests and fix resulting errors. 2017-09-21 11:52:59 +01:00
jzmaddock
c7f243239e Math.chebyshev: Backport to C++03. 2017-09-20 19:07:17 +01:00
jzmaddock
a2da7915ae Math.Chebyshev: include PCH header, and correct linker options in Jamfile.v2
Also fix some warnings from the test cases and increase the error tolerances for type float.
2017-09-20 18:25:07 +01:00
jzmaddock
82392e3e0c Merge branch 'develop' into chebyshev 2017-09-20 17:59:38 +01:00
Nick Thompson
956864cbd5 Recurse when grid isn't sufficiently refined. Optimization potential exists by reusing function evaluations. 2017-09-17 21:16:48 -06:00
Nick Thompson
2cb935ec17 Use std::enable_if to obviate the need for C++17 if constexpr. 2017-09-17 16:23:50 -06:00
Nick Thompson
0acb51b78d Linear time and numerically stable evaluation of derivative of Chebyshev series by a modified Clenshaw recurrence. 2017-09-17 14:02:43 -06:00
Nick Thompson
fe5d59d0f1 Split tests into FFTW-dependent and FFTW-independent. Improve documentation to the extent feasible. 2017-09-16 19:58:59 -06:00
Nick Thompson
cb470280ba Chebyshev transform 2017-09-13 17:51:50 -06:00
jzmaddock
5755e1d37e Merge pull request #87 from boostorg/gauss
Merge Gauss Kronrod code into develop.
2017-09-13 16:57:06 +01:00
jzmaddock
c5decc566e quadrature: split up some more tests they the object files aren't too large on win x64. 2017-09-11 13:05:49 +01:00
jzmaddock
9c6b144082 Quadrature: Disable gauss concept checks in C++03 2017-09-11 12:06:50 +01:00
jzmaddock
646c67d0d9 Remove C++14'isms that crept into tests. 2017-09-07 19:05:36 +01:00
jzmaddock
4c0bec596c Remove dead files. 2017-09-06 19:56:15 +01:00
jzmaddock
d9893f5e01 Quadrature: update conceptual tests for Gauss (Kronrod) quadrature. 2017-09-06 19:53:10 +01:00
jzmaddock
e09ad4c3aa Quadrature: finish off Gauss and Gauss-Kronrod integration code and tests. 2017-09-06 18:03:15 +01:00
jzmaddock
7d2002db80 Quadrature: add gauss and gauss-kronrod quadrature. 2017-08-31 19:42:26 +01:00
pabristow
c1b8ffec7c Needed to merge? 2017-08-31 12:50:11 +01:00
pabristow
c408d7ec1c Restored test_out_of_range to original location as is used by other tests 2017-08-29 17:03:06 +01:00
pabristow
34fd59c372 students t allowing df and x infinite 2017-08-29 15:24:45 +01:00
jzmaddock
e7e915816f Merge branch 'gauss_konrod' of https://github.com/NAThompson/math into gauss
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-08-24 11:47:26 +01:00
jzmaddock
f301e2a197 Merge pull request #72 from boostorg/pr66
PR66: Moved to here for integration testing.
2017-08-23 18:47:46 +01:00
jzmaddock
532f873cbc Add missing polynomial_concept_check.cpp. 2017-08-22 08:04:53 +01:00
jzmaddock
be90278cb8 Quadrature: address more vc12 x64 failures. 2017-08-21 13:36:08 +01:00
jzmaddock
f6495af64c Polynomial: more simplifications and modernizations.
Also update msvc performance results.
2017-08-21 13:15:39 +01:00
jzmaddock
58247a32d7 quadrature: deal with another vc12 x64 failure. 2017-08-20 08:30:35 +01:00
jzmaddock
9aa555a189 Quadrature: More fixes for VC12 test failures.
Comment: std::exp(x) returns NaN or similar for x large and negative on this platform instead of the expected 0.
2017-08-19 18:41:09 +01:00
jzmaddock
8aaf2d5e43 Quadrature: Fix error in test case. 2017-08-19 12:47:34 +01:00
jzmaddock
b15addd7b7 Quadrature: more tentative fixes for CI failures. 2017-08-18 18:25:21 +01:00
jzmaddock
307fd76013 quadrature: address msvc CI failures. 2017-08-17 20:18:08 +01:00
jzmaddock
98fe2e4581 Quadrature: add alternate forms of some of the problematic CRC test integrals. 2017-08-14 19:39:11 +01:00
pabristow
26aea4e7df Big refactor JM small_z and tag_type select code 2017-08-10 17:49:17 +01:00
jzmaddock
68c80b5fc8 Merge branch 'pr66' of https://github.com/NAThompson/math into pr66_78
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-08-09 18:02:36 +01:00
jzmaddock
3770719aff Quadrature: Remove the minimum levels requirement on tanh_sinh. 2017-08-07 19:04:42 +01:00
jzmaddock
1225612a28 quadrature: Remove unneeded test case, adjust one error rate, and finally silence some warnings. 2017-08-06 12:50:53 +01:00
jzmaddock
2fb22a46ad Tentative fix for CI failures:
std lib installed does not support C++14 and clang, so try C++11.
Suppress internal compiler error with gcc (can not reproduce locally).
2017-08-04 16:48:44 +01:00
jzmaddock
8799d16502 quadrature: Fix some test failures, by breaking up the tests more and fixing the test requirements. 2017-07-25 19:33:49 +01:00
jzmaddock
c3eb9e73d9 quadrature: move the tolerance into the integrate method from the constructor.
Since nothing in the constructor depends on the tolerance, and we may wish to use different integration tolerances with the same integrator object.
Update the tests to match the new interface.  Also add "direct" integration methods which do not adapt the range at all, but assume that we are using the integrators native range.
2017-07-25 18:26:21 +01:00
jzmaddock
5186181a96 exp_sinh: Fix failing gcc test. 2017-07-23 19:26:23 +01:00
jzmaddock
84ddab0e11 sinh_sinh: archive coefficient generation code. 2017-07-23 18:54:10 +01:00
jzmaddock
03b494abca exp_sinh: Archive coefficient generation code. 2017-07-23 17:06:14 +01:00
jzmaddock
397d8ce9c9 exp_sinh: add support for pre-computed constants. 2017-07-20 19:55:44 +01:00
jzmaddock
a9b8ac9dad tanh_sinh: Archive constant generating code. 2017-07-20 19:55:18 +01:00
jzmaddock
eb18bcd5aa tanh_sinh: add some missing using declarations. 2017-07-18 18:34:51 +01:00
jzmaddock
d01778ed00 tanh_sinh: Fix a couple of test failures. 2017-07-17 19:41:15 +01:00
jzmaddock
6259b8c795 tanh_sinh: add support for 2 arg user functions.
Update tests accordingly and get everything passing locally.
2017-07-16 19:18:20 +01:00
jzmaddock
4984809487 tanh_sinh: Add support for a minimum complement value,
so we can prune the table size when going to extreme ends of the range isn't required.
2017-07-15 16:47:55 +01:00
jzmaddock
21b00bba62 Merge branch 'develop' into pr66
Fixed Conflicts:
test/Jamfile.v2
2017-07-15 16:06:27 +01:00
jzmaddock
80125ffb2c tanh_sinh: Hook up infinite limits code to use the available complements of abscissa values where appropriate. 2017-07-12 19:17:29 +01:00
jzmaddock
1f45483ec1 Fix lambda expressions to be expression-template safe. 2017-07-11 18:45:59 +01:00
jzmaddock
4a5871ac71 tanh_sinh: Rework base class to cache refinements on demand. 2017-07-10 17:07:23 +01:00
jzmaddock
18938213e7 tanh_sinh: begin transforming code to calculate and store complements of abscissa values,
and use these in the range transformations so that there is no cancellation error when transforming to an abscissa value very close to zero.
2017-07-09 18:22:21 +01:00
jzmaddock
e9356e3c7b Add dummy test case to test_polynomial.cpp...
so that Boost.Test also has something to test even when everything is #ifdef'ed out.
2017-06-30 19:25:16 +01:00
jzmaddock
9651db9ea7 Rework Jamfiles to make them easier to maintain,
also added examples to CI testing.
2017-06-29 18:27:26 +01:00
jzmaddock
6928324e4f Fix Jamfile aliases. 2017-06-29 11:18:26 +01:00
jzmaddock
03d3adb050 Split test_polynomial.cpp up to make testing easier and object files smaller. 2017-06-28 18:36:31 +01:00
jzmaddock
2e6c9ca2b0 test_zeta.cpp: Need to set overflow policy even when pch is off. 2017-06-27 17:51:02 +01:00
jzmaddock
f1a324d7ff Quadrature: add cpp_dec_float exp_sinh test to Jamfile.v2 2017-06-26 09:03:41 +01:00
jzmaddock
8b40c2cbb1 quadrature: Fix cpp_dec_float tests. 2017-06-26 09:02:09 +01:00
jzmaddock
6f96c8b229 quadrature: Get tests clean with older compilers.
Also make tanh_sinh constants static members since they're constants.
2017-06-25 11:44:08 +01:00
jzmaddock
040feb0240 Get the tests hooked up and working with a variety of compilers. 2017-06-24 09:48:32 +01:00
pabristow
555e0f416b commit merge from develop 2017-06-22 17:05:02 +01:00
jzmaddock
b55167446f Quadrature: Policify the code,
Make tanh_sinh quadrature arbitrary precision.
Rework tests so the object files are not so large.
Added some more example integrals to the tanh_sinh tests.
2017-06-21 18:29:46 +01:00
jzmaddock
5e3fd1574e Merge branch 'double_exponential' of https://github.com/NAThompson/math into pr66 2017-06-17 18:10:25 +01:00
jzmaddock
9a8324c989 Merge pull request #71 from boostorg/pr65
PR based on #65 prepared for CI testing
2017-06-17 09:02:56 +01:00
jzmaddock
fdd959a32f Merge branch 'cleanup' of https://github.com/NAThompson/math into pr65.
Also made a couple of  minor modifications.
2017-06-16 19:35:13 +01:00
jzmaddock
34d413e830 trapezoidal: More fixes prior to merging:
Add new documentation section for integrators.
Remove isfinite from std_real_concept.hpp - it's not part of our conceptual requirements.
Add workarounds for older compilers that can't handle the default arguments to the function.
Restrict testing test_trapezoidal.cpp to compilers that handle lambdas.
Make the concept checks C++03.
Make test_trapezoidal.cpp compile with VC11's broken lambda support.
2017-06-16 18:13:42 +01:00
jzmaddock
f435cd3451 Bring trapezoidal.hpp more into line with the rest of Boost.Math:
Add policy support for error handling and epsilon.
Fix some warnings in the test case (msvc).
2017-06-15 19:14:31 +01:00
jzmaddock
a8bb78d25b Merge branch 'romberg' of https://github.com/NAThompson/math into pr59
# Resolved Conflicts:
#	test/Jamfile.v2
2017-06-15 18:26:48 +01:00
jzmaddock
b974a17ea8 add missing test file. 2017-06-10 11:43:57 +01:00
jzmaddock
9b2f878103 Update next.hpp and ulp.hpp to work with decimal types. 2017-06-10 11:11:58 +01:00
jzmaddock
a2cef181a8 test_barycentric_rational.cpp: switch to deterministic testing.
Previous code used random_device which would occasionally generate test sets with higher than expected error rates, this way we have something consistent to CI test against.
2017-06-08 08:48:57 +01:00
jzmaddock
d2f6525530 Increase tolerance in test_barycentric_rational.cpp
Test occasionally fails with msvc.
2017-06-07 17:41:15 +01:00
jzmaddock
540c93c542 CI: Fix more testing configuration issues.
* Disable testing the old mingw32 - it's too broken.
* Add feature dependency checks for new C++11 tests.
* Disable some tests that generate too large object files.
2017-06-05 09:32:00 +01:00
jzmaddock
1cf0598c54 Fix missing ) in pp-logic. 2017-06-04 19:33:59 +01:00
jzmaddock
5aa0fc1ec4 CI: Address CI failures and miss-configurations.
* Disable one concept check for gcc 6.2 which generates an internal compiler error.
* Increase expected error rate on one barycentric test - it was too tight to test on some platforms.
* Fix some __float128 miss-configurations.
2017-06-04 17:29:44 +01:00
jzmaddock
5c3624c0b8 Address CI failures:
* Fix bjam command line in appveyor file.
* Fix assertions triggered in bessel_i0.hpp.
* Remove common factor testing - it's moved to integer.
* Add lots of additional {} in initializers to silence clang warnings.
2017-06-04 13:12:33 +01:00
jzmaddock
1e03ffc53b Split tests up for easier CI testing. 2017-06-03 13:14:25 +01:00
jzmaddock
0242c64eec float_distance: Fix cases that span several orders of magnitude.
Add more tests.
See https://github.com/boostorg/multiprecision/issues/22.
2017-06-02 19:40:52 +01:00
Nick Thompson
23403b61a1 Add concept test and include test. 2017-05-18 19:02:29 -06:00
Nick Thompson
a980bd8af3 Add concept and include test. 2017-05-18 18:23:01 -06:00
Nick
1753d6e9e4 Merge branch 'develop' into romberg 2017-05-18 17:34:52 -06:00
Nick Thompson
7660162d41 Add concept and include test. 2017-05-18 17:33:45 -06:00
John Maddock
0812745b14 Add -lquadmath to barycentric rational tests 2017-05-12 10:21:39 +01:00
Nick Thompson
78409954f2 Use quadrature namespace. Add example. 2017-05-11 21:51:35 -06:00
Nick Thompson
4801e2d8bf Add namespace boost::math::quadrature. Remove throw when condition number of summation exceeds precision of type; how to properly mollify the condition number is not clear and should be done consistently rather than ad-hoc. 2017-05-11 21:03:00 -06:00
Nick Thompson
3bfeee838d Double exponential quadrature. 2017-05-10 22:03:21 -06:00
pabristow
369ce4312b Halley/Luu version working for 50 decimal digits 'reference' test values. 2017-05-10 18:21:35 +01:00
jzmaddock
47a126c938 Legendre-Stieltjes: Disable tests in C++03 mode which would fail. 2017-05-10 18:11:37 +01:00
jzmaddock
5db9e8870b Legendre_stieltjes: hook up tests.
Add concept checks.
Fix some warnings, and reduce dependencies.
2017-05-09 19:13:44 +01:00
jzmaddock
83891e2b79 Merge branch 'legendre_stieltjes' of https://github.com/NAThompson/math into stieltjes 2017-05-09 18:36:53 +01:00
jzmaddock
0e4c9ce418 Merge branch 'legendre_prime' into develop 2017-05-09 12:37:52 +01:00
jzmaddock
27ded3276d Remove C++11 isms from, legendre_prime header and tests - we don't want to break existing C++03 code using that header. 2017-05-09 12:18:43 +01:00
jzmaddock
97a4184df9 Hook up concept checks for legendre_p_prime.
Fix errors from above, add domain-error handling to the function.
2017-05-08 19:47:02 +01:00
jzmaddock
150a0b5afa Merge branch 'legendre_derivatives' of https://github.com/NAThompson/math into legrende_prime
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-05-08 19:14:16 +01:00
John Maddock
72a757d770 Fix non C++11 compiler failures, plus some other build/test related issues on interpolator code 2017-05-07 08:52:04 +01:00
jzmaddock
87ab68456d Improve interpolator documentation and examples. 2017-05-06 12:26:37 +01:00
jzmaddock
6e8687812f Add concept checks for barycentric_rational. 2017-05-05 13:12:25 +01:00
jzmaddock
80e7f7027c Merge branch 'barycentric' of https://github.com/NAThompson/math into interpolate_rat
Fix some msvc failures.
Suppress some compiler warnings.
Added iterator based constructor.
Moved docs to better position.

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-05-05 13:01:56 +01:00
jzmaddock
9c5604eec5 Add interpolation examples and tests to Jamfiles. 2017-05-04 13:19:09 +01:00
jzmaddock
adc2234d95 Merge branch 'barycentric' of https://github.com/NAThompson/math into interpolate_rat
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-05-04 13:18:05 +01:00
John Maddock
6afcd60c81 Bring gcd/lcm tests into line with the inteter versions. 2017-05-04 11:22:18 +01:00
John Maddock
4a569bf1c4 Fix header order include so that ADL works 2017-05-04 11:17:11 +01:00
John Maddock
7fab3cbb0e change namespace for gcd/lcm test 2017-05-04 11:11:12 +01:00
Nick Thompson
bcff4eae78 Remove unused variables, variables set but unused, set floating point number that would flush to zero to identically zero. 2017-05-03 15:30:24 -06:00
Nick Thompson
cf35d745d1 Remove unused typedef. Fix dangling reference to policy in airy. Pipe unused variables in compile test to /dev/null to suppress compiler warnings. Remove comment within comment. 2017-05-03 10:13:18 -06:00
jzmaddock
b9362cb000 Add concept checks for cubic-spline code, and fix resulting errors. 2017-05-03 13:32:53 +01:00
jzmaddock
127178518d Add iterator based construction to cubic B spline. 2017-05-03 13:07:54 +01:00
Nick Thompson
45226c7ef1 Numerical differentiation by finite differences and the complex step derivative. 2017-05-02 18:29:03 -06:00
jzmaddock
9dd532e01a Merge branch 'develop' of https://github.com/NAThompson/math into interpolate 2017-05-02 19:30:31 +01:00
jzmaddock
6407bedb75 Bring polynomial gcd into line with new Boost.Integer code, and improve tests. 2017-05-02 19:12:18 +01:00