Commit Graph

28 Commits

Author SHA1 Message Date
jzmaddock
238436ee07 Sterling: extend Sterling's approximation to the beta functions.
Adjust expected error rates accordingly.
Fixes https://github.com/boostorg/math/issues/247.
2019-10-11 11:12:02 +01:00
Nick Thompson
9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
jzmaddock
a426dfc911 refactor some tests so we don't get spurious CI failures. 2019-07-28 20:04:08 +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
c43027e86f tanh_sinh_quadrature_test.cpp: Up expected error rate on one failing test. 2018-05-25 11:13:36 +01: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
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
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
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
8b40c2cbb1 quadrature: Fix cpp_dec_float tests. 2017-06-26 09:02:09 +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
Nick Thompson
78409954f2 Use quadrature namespace. Add example. 2017-05-11 21:51:35 -06:00
Nick Thompson
3bfeee838d Double exponential quadrature. 2017-05-10 22:03:21 -06:00