2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-29 19:52:08 +00:00
Commit Graph

3726 Commits

Author SHA1 Message Date
Matt Borland
79ab23ffa4 Move sign position 2025-08-12 17:49:48 +02:00
Matt Borland
6893b74272 Add and fix additional test case 2025-08-12 17:05:38 +02:00
Matt Borland
4c086e6cba Fix return types for concept tests 2025-08-12 16:56:43 +02:00
Matt Borland
488cd2fd11 Action review comments replacing fenv manipulation 2025-08-12 15:03:43 +02:00
Matt Borland
6068d7a95a Only adjust the FPU flags when we have access 2025-08-12 14:10:32 +02:00
Matt Borland
f3a823d544 Add reproducer for github issue 1294 2025-08-12 13:35:01 +02:00
Matt Borland
b33d31ae9d Use new functions with logisitic distribution 2025-08-12 12:55:18 +02:00
Matt Borland
064ca93d06 Explicitly cast to result 2025-08-12 12:49:36 +02:00
Matt Borland
2e66849703 Rename 2025-08-12 11:32:22 +02:00
Matt Borland
bb699fa5ca Implement logit function 2025-08-12 11:21:51 +02:00
Matt Borland
aa445f6bf3 Implement logistic function 2025-08-12 10:54:46 +02:00
Warren Weckesser
505511fc68 Fix the 'function' name for the logistic logcdf function. 2025-08-09 16:06:46 -04:00
ckormanyos
0703718dd6 Handle review comments and add tests 2025-08-07 14:09:22 +02:00
ckormanyos
018010e695 Rework logic and check some branch cover 2025-08-07 12:37:28 +02:00
ckormanyos
f52df1cb9e Investigate small-arg logic as in issue 2025-08-07 11:03:31 +02:00
Matt Borland
31b94bfc38 Use if constexpr for type based branching in fourier integrals 2025-08-01 12:40:52 -04:00
Andrew Johnson
56293860d1 Avoid using long double in fourier integrals when not supported 2025-08-01 15:45:15 +08:00
Paweł Stankowski
9ef3540f1a Replaced ldexp with frexp to eliminate errno being set on some compliers (e.g. clang) on underflow or overflow 2025-07-04 12:09:44 -07:00
ckormanyos
801bf4d311 Add forgotten -Wpedantic shield 2025-06-23 13:30:29 +02:00
Matt Borland
3725f01a34 Fix config -Wundef warning 2025-06-11 15:22:07 -04:00
Matt Borland
7dcfaaf413 Update mingw failure with thread_local 2025-06-10 16:02:22 -04:00
Matt Borland
54c04dd4df Add empty definitions in the no exceptions case 2025-06-10 14:55:57 -04:00
Matt Borland
328d06d2cc Use global namespace in the NVRTC case 2025-06-10 14:41:47 -04:00
Matt Borland
10e5b6a5fe Reverse order of decorators 2025-06-10 14:41:47 -04:00
Matt Borland
4f793f452e Remove SYCL workaround 2025-06-10 14:41:46 -04:00
Matt Borland
cd92c648fd Fix NVRTC usage of lgamma 2025-06-10 14:41:46 -04:00
Matt Borland
f650dc19bd More missing promotion headers 2025-06-10 14:41:46 -04:00
Matt Borland
21a89ff0f7 Replace std::numeric_limits with boost::math::numeric_limits 2025-06-10 14:41:46 -04:00
Matt Borland
f1810a3dd9 Add missing headers 2025-06-10 14:41:46 -04:00
Matt Borland
56e1197d35 Fix NVRTC deprecation warning 2025-06-10 14:41:46 -04:00
Matt Borland
3b3f18e644 Use boost.math cstdint type 2025-06-10 14:41:46 -04:00
John Maddock
036cf85c12 Merge branch 'mydevelop' of https://github.com/cohomology/math into integrate_1251 2025-05-23 16:27:12 +01:00
jzmaddock
aecd335492 Merge pull request #1262 from boostorg/improve_coverage_4
Improve Coverage Part 4
2025-05-20 12:14:02 +01:00
jzmaddock
ef849f342c Coverage: correct min/max usage for CUDA. 2025-05-15 19:12:23 +01:00
jzmaddock
60ef55dfb5 Coverage: Fix GPU support. 2025-05-15 18:37:01 +01:00
Tomato-in
af8ba3f7b2 Adjust parameter order in Differential Evolution algorithm
Problem Description
The optimization module implements four algorithms: Differential
Evolution, Algorithm jSO, Random Search, and Evolution Strategy with
Covariance Matrix Adaptation. All these algorithms accept seven
parameters: `cost_function`, `params`, `gen`, `value_to_reach`,
`cancellation`, `current_minimum_cost`, and `queries`. Unfortunately,
the Differential Evolution algorithm doesn't maintain parameter
consistency with the other three algorithms: the last two parameters
(`current_minimum_cost` and `queries`) are in reverse order compared to
the other algorithms. This appears to be an unintentional oversight.

Solution
- Adjust the parameter order in the Differential Evolution algorithm to ensure consistency with other optimization algorithms
- Update the algorithm documentation accordingly
(No changes to example code were needed as the examples don't use these two parameters)
2025-05-15 07:19:58 -07:00
Tomato-in
6bd0191186 Fix: Corrected the external archive error in the jSO algorithm
Problem Description: In the jSO algorithm, the external archive was storing successful trials, but according to the original paper, it should store eliminated individuals. The external archive is meant to maintain diversity, and storing successful trials fails to achieve this effect.

Solution: Modified the jSO algorithm's external archive update to store eliminated individuals.
2025-05-14 17:51:39 -07:00
jzmaddock
c851fe9478 Coverage: change uncovered lines in owens_t to asserts.
Fix some gcc warnings at the same time.
2025-05-14 12:18:30 +01:00
jzmaddock
3b49983bbd Coverage: mark up spurious missed line. 2025-05-14 11:29:03 +01:00
jzmaddock
d1101432c4 Coverage: zeta and ulp tweaks for full coverage. 2025-05-12 16:28:27 +01:00
jzmaddock
d760c314d5 Coverage: improve zeta.hpp coverage and tests. 2025-05-12 12:05:01 +01:00
jzmaddock
c159459504 Coverage: Add trivial tests for ulp.hpp. 2025-05-11 10:39:13 +01:00
jzmaddock
384cd81a2b Coverage: improve trigamma. 2025-05-10 18:36:42 +01:00
jzmaddock
a8948c31dc Coverage: cosmetic change to prime.hpp for coverage detection. 2025-05-10 14:25:24 +01:00
jzmaddock
d5341809a4 Coverage: Mark up default & break statements which don't seem to cover even though they are invoked. 2025-05-08 11:37:53 +01:00
jzmaddock
404fccdd16 Coverage: Fix up nonfinite_num_facets.hpp
Add more tests, and enable one test that was not even being built.
2025-05-07 16:36:19 +01:00
jzmaddock
295c5a37f5 Coverage: last few lines of next.hpp. 2025-05-07 12:12:59 +01:00
jzmaddock
1ec15ddad5 Coverage: Improve next.hpp. 2025-05-06 17:16:32 +01:00
jzmaddock
c0a97eda31 Coverage: legendre.hpp trivial markup. 2025-05-05 13:05:30 +01:00
jzmaddock
7556310aae Coverage: Cosmetic changes to log1p plus more tests.
Also hook test_log1p_simple.cpp up to Jamfile.v2 as it had been omitted for some reason.
2025-05-04 16:12:13 +01:00