2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-10 23:42:23 +00:00
Commit Graph

1896 Commits

Author SHA1 Message Date
mborland
386cc4d020 Add test for multi-threading section and add to Jamfile [CI SKIP] 2020-07-15 12:54:56 -05:00
mborland
2a7e03129f Added execution policies. Increased performance for dynamically linked libraries. Fixed -Wextra errors. [CI SKIP] 2020-07-13 21:27:14 -05:00
mborland
dd8a61c864 Re-added support and tests for boost::multiprecision::cpp_int [CI SKIP] 2020-07-12 12:00:12 -05:00
mborland
3e4db8a609 Complete revamp of algorithm. Hide implementation behind detail namespace. [CI SKIP] 2020-07-11 19:41:52 -05:00
mborland
5375a1d692 Added additional tests, benchmarks, and overflow checks 2020-07-10 13:59:13 -05:00
mborland
4015fbc8c3 Initial Commit 2020-07-08 22:35:28 -05:00
Nick
fbb62f01c5 Centered continued fractions (#379)
* Centered continued fraction [CI SKIP]

* Document centered cfrac. [CI SKIP]

* Unit tests for centered continued fraction [CI SKIP]

* Kick off build.

* Fix syntax error in docs [CI SKIP]

* Fix ADL.
2020-06-28 14:20:52 -04:00
Nick
1ac89b2b02 Simple continued fraction (#377)
* Simple continued fraction [CI SKIP]

* Comments on error analysis [CI SKIP]

* Simple continued fraction [CI SKIP]

* Clarify comment and kick off build.
2020-06-26 14:50:04 -04:00
Nick
4facb20ff9 Gauss's constant G:=1/agm(1,sqrt(2)) (#363) 2020-06-05 20:25:04 -04:00
Nick
4e0e8eb005 Add Feigenbaum constant. (#351)
* Add Feigenbaum constant.

* Add isnan to real_concept. Convert test_constants.cpp to math_unit_test.cpp.

* Reduce ULP tolerance to 2, which is the minimum that passes on my machine.

* Improvements to Feigenbaum.

* Ok this is pretty complicated . . . [CI SKIP]

* Take jzmaddock's suggestion to remove additions to real_concept.

* Remove test the demonstrates throw.

* Use BOOST_STATIC_ASSERT_MSG to retain C++03 compatibility.

* More precise conversion from binary to decimal.

* Plastic constant.

* Fix typos.

* New tests [CI SKIP]

* bugfix in test [CI SKIP]

* Update docs for new constants [CI SKIP]

* Fix outdated instructions [CI SKIP]

* Do C++11 check for new constants.

* Update constants.qbk [CI SKIP]

* Hopefully green up build

* Constants still *work* in C++03, but now they must be tested in C++11 mode.

* Remove boost::math::isnan.

* Test file requires C++17.
2020-06-04 21:57:38 -04:00
Nick
0a4551bf15 Add CHECK_EQUAL and CHECK_NAN to math_unit_test.hpp [CI SKIP] 2020-05-31 13:27:43 -04:00
NAThompson
646005eaca Take care of overflow. [CI SKIP] 2020-05-31 11:35:46 -04:00
Nick
1186f1a7ff rsqrt (#361)
* rsqrt

* Link docs into math.qbk. [CI SKIP]

* Demo performance with a compiler that generates good instructions [CI SKIP]
2020-05-30 22:34:56 -04:00
Nick
9a45e6a358 AGM 2020-05-29 21:50:25 -04:00
Nick
3c3217d2cd Remove some internal dependencies for Daubechies wavelets. (#356) 2020-05-20 14:07:19 -04:00
jzmaddock
bfbd6a93ee Change char->signed char to reflect nature of the test.
Fixes https://github.com/boostorg/math/issues/353.
2020-05-19 08:27:15 +01:00
Edward Diener
6d678efbf7 Change __BORLANDC__ to BOOST_BORLANDC and __CODEGEARC__ to BOOST_CODEGEARC, which is defined in Boost config for the Embarcadero non-clang-based compilers. (#345) 2020-05-06 11:46:51 -04:00
jzmaddock
0fffd9a6e0 test_ellint_2 has one set of tests which don't work correctly with variable precision types. 2020-04-29 19:47:46 +01:00
jzmaddock
c242a19426 handle_test_result should call set_output_precision so that variable precision types are correctly handled. 2020-04-29 19:47:06 +01:00
Nick
c59659f4ed Reinch's modification to Clenshaw recurrence (#339)
* Reinch's modification to Clenshaw recurrence. [CI SKIP]

* Convert Chebyshev tests to math_unit_test.hpp

* Performance of translated Chebyshev Clenshaw recurrence. [CI SKIP]

* Prepare to use modified Clenshaw recurrence in Chebyshev transform.

* Remove unused headers from Chebyshev transform test [CI SKIP]

* Update Chebyshev transform tests to use math_unit_test.hpp
2020-04-25 09:01:05 -04:00
Nick
d71fba9875 Improvements for math_unit_test (#331)
* CHECK_LE for math_unit_test.hpp

* CHECK_CONDITIONED_ERROR

* Always accept 1ULP accurate evaluation

* Use new features of math_unit_test to test wavelet_transform.
2020-04-25 08:56:59 -04:00
jzmaddock
46574c7320 ellint 2 tests: fix float constant. 2020-04-11 19:28:59 +01:00
jzmaddock
6a3abaabed Ellint 2: Correct numeric literals in test case. 2020-04-10 12:05:10 +01:00
jzmaddock
1ba3c0110e Correct behaviour of ellint_2 when k = 1.
Fixes https://github.com/boostorg/math/issues/321.
2020-04-08 09:20:38 +01:00
Nick
8d258f674e Increase tolerance for Lambert W to get it green on some builds. 2020-03-28 07:46:07 -04:00
Nick
115ad14101 tolerance param != unit roundoff; so fix that. 2020-03-27 09:49:18 -04:00
Nick
2c4fec1e4c Relativize the error in the Lambert-W tests to the condition number of function evaluation. 2020-03-27 08:02:29 -04:00
Nick
f4300bdc9d Loosen up windows tolerance. 2020-03-25 09:51:48 -04:00
Nick
6d34700a55 Merge branch 'daubechies_attempt_2' of https://github.com/boostorg/math into daubechies_attempt_2 [CI SKIP] 2020-03-24 05:42:55 -04:00
Nick
d009f3c6b4 Yet again increase tolerance on Windows 2020-03-24 05:42:47 -04:00
jzmaddock
add9da6151 Merge branch 'daubechies_attempt_2' of https://github.com/boostorg/math into daubechies_attempt_2 2020-03-23 18:23:55 +00:00
jzmaddock
8b3393091a Daubechies: More code simplification. 2020-03-23 18:23:32 +00:00
Nick
9ba1ce6f00 Improve docs and loosen tolerances for Windows. 2020-03-23 07:39:57 -04:00
Nick
2c85c98982 Document wavelet transform. Submit (mildly) failing unit test for transforms. [CI SKIP] 2020-03-22 20:15:10 -04:00
Nick
0f7cb98188 Tests for wavelet transform [CI SKIP] 2020-03-22 17:15:22 -04:00
Nick
fb26bc0cf1 Fix septic hermite evaluation. 2020-03-22 13:03:48 -04:00
Nick
2af33f2725 Fix quintic hermite interpolation [CI SKIP] 2020-03-22 12:07:05 -04:00
Nick
5cbfdb554a Fix invalid read in cubic Hermite. [CI SKIP] 2020-03-22 11:22:36 -04:00
Nick
bc70b99553 Test boundaries for segfaults [CI SKIP] 2020-03-22 08:50:21 -04:00
Nick
b1ba02e5c1 Merge branch 'develop' into daubechies_attempt_2 [CI SKIP] 2020-03-22 08:18:12 -04:00
jzmaddock
5b1ba3bd73 Suppress msvc warnings. 2020-03-22 10:12:29 +00:00
Nick
6ebdabd397 Still an ASAN bug, but moving along. [CI SKIP] 2020-03-21 11:19:46 -04:00
Nick
11c45c0ec0 Accept b<= a in quadrature. 2020-03-21 09:22:41 -04:00
Nick
735d582b36 Merge branch 'develop' into daubechies_attempt_2 2020-03-15 13:13:49 -04:00
NAThompson
cfc9b95397 Fix a couple bugs in Daubechies wavelets [CI SKIP] 2020-03-13 06:50:34 -04:00
NAThompson
c4e0563c1b Wavelet tests [CI SKIP] 2020-03-12 09:49:33 -04:00
NAThompson
f44feba639 Test L2 norm of Daubechies scaling function. [CI SKIP] 2020-03-12 06:07:03 -04:00
NAThompson
1004045667 Attempt to fix some build errors 2020-03-12 05:48:16 -04:00
Conor Jackson
bba5f4e259 Added exp integral tests for exp_sinh quadrature
Added tests of the complex eponential integral E1 for quadrature::exp_sinh. These tests involve the integral of a complex valued function over the (non-native) range (1,infinity). Currently these tests fail at compilation due to a bug in mapping the non-native range to the native one.
2020-03-10 18:22:58 +00:00
NAThompson
59fe4d690c Add test file [CI SKIP] 2020-03-10 08:17:53 -04:00