2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-03 09:12:19 +00:00
Commit Graph

1179 Commits

Author SHA1 Message Date
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
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
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
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