2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 07:02:08 +00:00
Commit Graph

2428 Commits

Author SHA1 Message Date
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
4e510da7fd Performance reporting for constants (#366)
* Performance reporting for constants [CI SKIP]

* Remove itrunc overflow. [CI SKIP]
2020-06-06 09:11:52 -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
EugeneZelenko
03a879970b Fix Clang -Wextra-semi-stmt and Clang-tidy readability-simplify-boolean-expr warnings. (#360) 2020-05-31 12:43:06 -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
37fe3f415a Fix ulps plot for float128 and higher precision types. 2020-05-25 16:27:20 -04:00
Nick
9520fb1e4c Merge branch 'develop' of https://github.com/boostorg/math into develop 2020-05-25 16:10:56 -04:00
Nick
15ff6fa3a2 Update ulps_plot to work with mpfr and float128. 2020-05-25 16:10:49 -04:00
Nick
3c3217d2cd Remove some internal dependencies for Daubechies wavelets. (#356) 2020-05-20 14:07:19 -04: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
NAThompson
cd1fe84134 Change default number of points to 1000 [CI SKIP] 2020-04-29 10:24:22 -04:00
Nick
47e61a447c ULP plots (#341)
ULPs plots
2020-04-25 09:03:49 -04: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
jzmaddock
904138c725 Merge pull request #340 from boostorg/issue321
Correct behaviour of ellint_2 when k = 1.
2020-04-23 15:02:23 +01:00
jzmaddock
d62ab936c9 cyl_bessel_i: Fix variable multiprecision case, plus decimal number case. 2020-04-23 08:47:04 +01:00
jzmaddock
0cc85253e2 Merge pull request #333 from boostorg/better_arg_promotion
Better argument promotion for float_next
2020-04-10 11:52:43 +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
jzmaddock
fd842536c9 Revert commits requiring C++11 and backport float_distance to C++03 for now. 2020-04-07 17:17:29 +01:00
jzmaddock
bc6667127d Tweak performance tuning macros. 2020-04-04 09:58:20 +01:00
jzmaddock
b48cdffd1e Improve C++03 deprecation diagnostics
So we can see which macro is triggering the warning.
2020-04-02 14:59:16 +01:00
Nick
00707a8b02 float_distance: Should work now . . . 2020-03-29 10:45:24 -04:00
Nick
e3fd9b46fd Better argument promotion for float_next 2020-03-28 17:05:41 -04:00
jzmaddock
49dfd1f535 Move C++03 deprecation warnings to separate file and only warn for headers that need it. 2020-03-26 18:15:53 +00:00
jzmaddock
8b3393091a Daubechies: More code simplification. 2020-03-23 18:23:32 +00: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
3a34827563 Copyright statements. [CI SKIP] 2020-03-22 13:10:37 -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
3610dd94dd Simplify some of the Daubechies code.
[CI SKIP]
2020-03-22 11:05:06 +00:00
jzmaddock
5b1ba3bd73 Suppress msvc warnings. 2020-03-22 10:12:29 +00: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
Nick
81765540b5 Wavelet transforms for complex-valued integrands [CI SKIP] 2020-03-14 09:22:48 -04:00
Nick
e5282c570e Wavelet transform [CI SKIP] 2020-03-13 16:51:40 -04:00
jzmaddock
abbe41b3b3 Merge pull request #323 from boostorg/deprecate_cxx11
Deprecate C++11.
2020-03-13 18:13:28 +00:00
jzmaddock
562906c76d Make a way to disable deprecated warnings.
[CI SKIP]
2020-03-13 18:11:10 +00:00
jzmaddock
c712041547 Merge branch 'develop' of https://github.com/boostorg/math into develop 2020-03-13 18:06:41 +00:00
jzmaddock
5c3544c44e Qualify calls to erf/erfc so we don't accidentally find ::erf(double). 2020-03-13 18:06:20 +00: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
1004045667 Attempt to fix some build errors 2020-03-12 05:48:16 -04:00
NAThompson
2da10b8467 Add start of support parameter to one-off interpolators. [CI SKIP] 2020-03-11 08:07:41 -04:00
jzmaddock
5cbab46e3a Deprecate C++11. 2020-03-10 18:32:20 +00:00