2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-26 06:42:12 +00:00
Commit Graph

6664 Commits

Author SHA1 Message Date
jzmaddock
03ea9c8d7d Merge pull request #1080 from boostorg/issue184_2024
Reinstate root finding protection against huge jumps.
2024-02-06 12:34:39 +00:00
jzmaddock
04c2c248df BOOST_ASSERT->BOOST_MATH_ASSERT. 2024-02-06 09:54:49 +00:00
jzmaddock
a57fb0a894 Reinstate root finding protection against huge jumps.
Apply error handling more rigorously to any root finding client.
Mark evaluation_error's as not reachable for code coverage.
Fixes https://github.com/boostorg/math/issues/184.
2024-02-05 19:16:33 +00:00
jzmaddock
75dcb3e3d5 Merge pull request #1078 from andrjohns/ibeta-inv-assert
Avoid unused variable warning in ibeta_inverse
2024-02-04 17:32:30 +00:00
Andrew Johnson
12e33a5db4 Avoid unused variable warning 2024-02-04 13:54:00 +02:00
Nick
ca29a700f1 Remove warnings from naive Monte Carlo (#1075) 2024-01-30 14:28:17 -08:00
Nick
fccad84bf5 Random search (#1071) 2024-01-24 17:26:24 -08:00
Matt Borland
31b76ee734 Merge pull request #1072 from boostorg/deprectation
Update GHA to remove Node deprecation warnings
2024-01-24 13:48:57 +01:00
Matt Borland
291f31117f Update GHA to remove Node deprecation warnings 2024-01-24 11:52:29 +01:00
Nick
a1f7a305ee Algorithm jSO (#1065)
Follows: Brest, Janez, Mirjam Sepesy Maucec, and Borko Boskovic. "Single objective real-parameter optimization: Algorithm jSO." 2017 IEEE congress on evolutionary computation (CEC). IEEE, 2017.
2024-01-22 14:06:52 -08:00
jzmaddock
e06b1b7b04 Merge pull request #1067 from boostorg/opt_newline
Fix missing newline.
2024-01-21 12:14:49 +00:00
jzmaddock
9f5e81d4ea Fix missing newline. 2024-01-21 10:26:53 +00:00
jzmaddock
6f81305aa6 Merge pull request #1066 from boostorg/issue1064
Improve cstdfloat iostream code.
2024-01-21 10:21:47 +00:00
jzmaddock
469541984d Improve cstdfloat iostream code.
Copies input stream parsing from multiprecision.
Fixes https://github.com/boostorg/math/issues/1064
This is still not "proper" iostream code, but it's much better than it was.
2024-01-20 19:04:59 +00:00
Nick
de9a1a0ee5 Fix race conditions in differential evolution (#1063)
Through a combination of silly mistakes, I missed a pile of race conditions in the OpenMP threading.

Switch to C++ threading. Note that this change requires serial generation of trial vectors.

Hopefully I can figure out to parallelize the generation of trial vectors to reduce the serial section a la Ahmdahl's law,
while simultaneously keeping thread sanitizer happy.
2024-01-17 10:20:41 -08:00
Matt Borland
79b4015d4d Add codecov run to CI (#1061)
Co-authored-by: Alexander Grund <Flamefire@users.noreply.github.com>
2024-01-05 09:00:24 +01:00
Nick
4ee83916c5 Differential evolution (#1062)
* Differential evolution

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
2024-01-01 17:09:16 -08:00
Matt Borland
56b6ae1b94 Merge pull request #1060 from boostorg/MSVC_Complex
Fix for msvc defining _Complex_I in complex.h
2023-12-22 07:28:36 -05:00
Matt Borland
8332808ebc Address review comments [CI SKIP] 2023-12-22 07:13:10 -05:00
Matt Borland
c4e15ddda0 Fix index for MSVC 14.0 2023-12-22 06:06:57 -05:00
Matt Borland
8d575067e9 Rename bessel components 2023-12-22 05:17:55 -05:00
Matt Borland
a8ee8eb5d8 Protect dependencies with macros 2023-12-22 05:15:38 -05:00
Matt Borland
de67ad3207 Rename our components 2023-12-22 05:09:32 -05:00
Matt Borland
bd49c8311a Improve logic and shield other boost libraries in non-standalone mode 2023-12-21 08:33:23 -05:00
Matt Borland
e24e884562 Undef I after pushing onto the stack 2023-12-21 07:48:13 -05:00
Matt Borland
23d54b385b Fix for msvc defining _Complex_I in complex.h 2023-12-21 07:20:24 -05:00
Matt Borland
438ee69ff0 Merge pull request #1059 from boostorg/no_boost_array 2023-12-20 05:48:42 +01:00
Nick Thompson
185bb52813 Remove last usage of boost::array
Now that boost.math is C++14, remove boost::array in order to improve orthogonality of the library.
2023-12-19 17:16:39 -08:00
Matt Borland
0238802ecc Merge pull request #1057 from boostorg/libstdc++14
Fix cstdfloat numeric limits detection macro for libstdc++14
2023-12-13 11:15:24 +01:00
Matt Borland
b3a21bcbcb Fix cstdfloat numeric limits detection macro for libstdc++14 2023-12-13 08:43:43 +01:00
Nick
e0c17f6856 Improve accuracy of quartic_roots (#1056) 2023-11-27 17:52:56 +01:00
Matt Borland
f7f96150df Update version history (#1053) 2023-11-18 15:28:38 +01:00
Matt Borland
2dd018b8c7 Revert "Update version history."
This reverts commit d938d3e836.
2023-11-18 08:30:17 +01:00
jzmaddock
d938d3e836 Update version history.
[CI SKIP]
2023-11-17 18:25:02 +00:00
Matt Borland
0c5b957300 Merge pull request #1051 from boostorg/1048
Fix for issue 1048
2023-11-17 10:59:10 +01:00
Matt Borland
6c5fd09a40 Fix ADL failures for __float128 2023-11-17 08:20:05 +01:00
Matt Borland
26d8675a48 Merge pull request #1050 from boostorg/ncf_sf
Fix for issue 1049
2023-11-17 08:14:42 +01:00
Matt Borland
2cb550d65e Replace C style asserts with BOOST_MATH_ASSERT 2023-11-16 11:39:53 +01:00
Matt Borland
6aaba2e5a3 Add 1 / eps test case to be sure 2023-11-16 11:28:39 +01:00
Matt Borland
fe377373e4 Use identity function in floor if val >= 1/epsilon 2023-11-16 11:26:41 +01:00
Matt Borland
8da51f2bde Add test values from issue 2023-11-16 11:26:15 +01:00
Matt Borland
d18964d5aa Check update of xterm for denom of 0 2023-11-16 09:38:11 +01:00
Matt Borland
de64f02ad3 Add test case 2023-11-16 09:38:01 +01:00
jzmaddock
8c72a85ec6 Merge pull request #1046 from boostorg/ccmath_support_detection
Improve ccmath support detection.
2023-11-07 08:53:47 +00:00
jzmaddock
407a2eb8ed Correct depint.py includes. 2023-11-06 18:40:06 +00:00
jzmaddock
c33ea10655 Update depinst.py usage to scan more directories. 2023-11-06 18:27:35 +00:00
jzmaddock
90c509398b Improve error detection further. 2023-11-06 09:40:26 +00:00
jzmaddock
d7048ecfa7 Improve ccmath support detection.
See discussion in https://github.com/boostorg/math/pull/1045.
2023-11-05 19:32:33 +00:00
jzmaddock
11e2348372 Merge pull request #1045 from boostorg/ccmath_config
Update/improve ccmath configuration.
2023-11-05 11:30:50 +00:00
jzmaddock
21230d698e Correct header include order for standalone mode. 2023-11-03 18:46:23 +00:00