2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

6115 Commits

Author SHA1 Message Date
jzmaddock
50434445a4 Add missing test case. 2022-02-02 19:28:53 +00:00
jzmaddock
2113258e86 Demonstrate deduction guides for normal_distribution. 2022-02-02 19:24:24 +00:00
Matt Borland
2cc734d76e Conditionally disable test that hangs CI (#751) 2022-01-29 13:58:53 +02:00
Matt Borland
358b302f10 More C-Style Cast Removal (#746) 2022-01-22 10:36:50 +02:00
Matt Borland
50008bb6ba constexpr isunordered (#745) 2022-01-21 08:07:07 -08:00
jzmaddock
be7b305ad5 Merge pull request #742 from boostorg/lexical_cast_fixes
Begin to systematically remove direct use of lexical_cast in favour o…
2022-01-19 18:40:11 +00:00
Matt Borland
2a94000733 Remove C-Style casts (#744) 2022-01-19 20:04:58 +02:00
Nick
1748becee4 Remove old-style casts. (#743) 2022-01-18 11:37:43 -08:00
jzmaddock
cfc19730ea Improve comments around static_assert's
[CI SKIP]
2022-01-18 19:23:41 +00:00
jzmaddock
9d8f5b107c Correct macro usage in chebyshev_transform_test.cpp 2022-01-18 09:24:37 +00:00
jzmaddock
7850b8c2dd Correct some CI test failures.
Stop referencing boost::lexical_cast even in templates which aren't instantiated.
Fix missing macro definition in tr1.hpp.
Correct include order in some tests so we get consistent definitions for BOOST_HAS_FLOAT128.
2022-01-17 19:37:08 +00:00
jzmaddock
192888e732 Complete removal of direct use of lexical_cast.
Correct silly typo in unchecked_factorial.hpp.
Remove TEST_STD define in config.hpp as it needlessly breaks the TR1 tests.
Remove lexical_cast.hpp workaround file.
Correct #pragma in tr1.hpp.
2022-01-17 15:36:33 +00:00
jzmaddock
81cfd85df5 Begin to systematically remove direct use of lexical_cast in favour of existing abstractions. 2022-01-16 17:36:50 +00:00
jzmaddock
4eb1db8133 Merge pull request #722 from boostorg/de_performance_part_2
Improving DE performance Part 2
2022-01-16 17:33:58 +00:00
jzmaddock
561a2f1f23 Merge branch 'develop' into de_performance_part_2
Fixed Conflicts:
  include/boost/math/quadrature/detail/exp_sinh_detail.hpp
2022-01-16 09:13:40 +00:00
Nick
46f6ef03a2 Remove use of old-style casts from exp-sinh quadrature. (#741) 2022-01-15 08:15:55 -08:00
jzmaddock
7bb0688303 Correct exp_sinh top-and-tail code. 2022-01-14 17:39:17 +00:00
Matt Borland
e1601f129a Complete CI test with standalone mode (#680) 2022-01-14 08:12:22 -08:00
jzmaddock
8ebe294c83 "Top and tail" the range of values we sample in exp_sinh.
This removes insignificant values at either end of the integral by way of a performance improvement.
Remove the check within the inner loop for possible early exit as we have already removed the range of values which are likely to be insignificant in value during the first 2 passes.
2022-01-13 12:29:11 +00:00
jzmaddock
53aaf4ce21 Update expected error for tanh_sinh integral.
Recent changes to tanh_sinh alters the order in which values are summed: this can randomly change the found error for either better or worse, and so the 1eps tolerance here was over-optimistic.
2022-01-12 18:40:18 +00:00
jzmaddock
3019900cb7 Merge pull request #738 from mborland/issue737
Fix for issue #737
2022-01-11 19:21:17 +00:00
Matt Borland
18a0874056 Constexpr comparison functions (#736) 2022-01-09 09:28:13 -08:00
Matt Borland
019de0d35a Fix for issue #737 2022-01-09 14:00:19 +02:00
jzmaddock
82b595a9c3 Merge pull request #735 from boostorg/issue733
Fix for linker errors from multiprecision changes.
2022-01-08 14:39:05 +00:00
jzmaddock
d766ef18ea Fix for linker errors from multiprecision changes.
Fixes https://github.com/boostorg/math/issues/733.
2022-01-07 11:37:44 +00:00
Matt Borland
9e369be7a4 Constexpr fmin and fmax (#732) 2022-01-06 11:02:41 -08:00
Matt Borland
3ce09d5739 Constexpr fdim (#730) 2022-01-05 07:01:22 -08:00
Matt Borland
e8edbb9ac3 Fix and tests for issue #705 (#731) 2022-01-05 07:00:41 -08:00
Nick
60d54e565f Quartic roots. (#718) 2022-01-02 17:58:09 -08:00
jzmaddock
4e74c1251e Merge pull request #725 from mborland/724
Fix tests for Apple M1
2021-12-18 16:55:32 +00:00
Matt Borland
1d6f5d12e1 Lost #endif in rebase 2021-12-13 21:07:01 +02:00
Matt Borland
5f9db41033 Fix tests for Apple M1 2021-12-13 17:41:24 +02:00
Matt Borland
181831c0ab Constexpr hypot (#721) 2021-11-27 16:33:11 -07:00
jzmaddock
8eb3a80dcf Add missing using declarations. 2021-11-26 09:44:17 +00:00
jzmaddock
efb4628d10 Tidy up logic for pruning insignificant values.
Fix up one failing test.
2021-11-25 16:09:20 +00:00
jzmaddock
40605d0b78 Correct MSVC-14.2 CI failure. 2021-11-06 17:03:48 +00:00
jzmaddock
32a4b92b43 Update history and regenerate docs (part 2). 2021-11-05 19:21:25 +00:00
jzmaddock
f5cdfc57a2 Revert changes in include/boost/math/quadrature/detail/tanh_sinh_detail.hpp 2021-11-05 18:23:09 +00:00
jzmaddock
e000cf5dd1 Update history and regenerate docs. 2021-11-05 17:53:09 +00:00
jzmaddock
7108ccc1a3 Merge pull request #716 from boostorg/cubic_roots_tlc
Remove unicode from comments and loosen up error tolerance.
2021-11-03 19:55:05 +00:00
jzmaddock
535fcc237a Merge pull request #714 from boostorg/tanh_sinh_performance
Improve tanh_sinh.
2021-11-03 19:54:44 +00:00
Nick Thompson
15c680c93a Remove unicode from comments and loosen up error tolerance. 2021-11-02 22:31:03 -07:00
jzmaddock
afaa03a090 Merge pull request #713 from boostorg/issue710
Update limits used in erf/erfc approximations.
2021-11-02 19:04:41 +00:00
jzmaddock
08ff95dd14 Convert file to ASCII. 2021-11-01 19:24:31 +00:00
jzmaddock
d8078c71a3 Fix copyright declaration. 2021-11-01 18:32:07 +00:00
jzmaddock
28e56faf34 Tentatively prune the tails when they are insignificant. 2021-11-01 18:30:26 +00:00
jzmaddock
fe23edcaca TanhSinh: Reinstate requirement to explore at least 4 levels. 2021-10-28 15:41:37 +01:00
jzmaddock
075ff0dc6c Better estimate error due to truncation at endpoints. 2021-10-28 12:05:12 +01:00
Nick
923ed19a07 Cubic roots (#703) 2021-10-26 20:54:29 -07:00
jzmaddock
035188f974 tanh_sinh: detect and allow non-finite values at end points. 2021-10-26 16:29:15 +01:00