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

3717 Commits

Author SHA1 Message Date
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
jzmaddock
399139c301 Coverage: Remove dead code from legendre.hpp and add more test cases. 2025-05-04 11:53:54 +01:00
jzmaddock
cf79a90f5e Coverage: Mark up expint tables. 2025-05-03 17:51:03 +01:00
jzmaddock
a6688c991d Coverage: trivial lambert_w markup. 2025-05-02 19:44:35 +01:00
jzmaddock
e74239638d Coverage: mark up lambert_w tables. 2025-05-02 09:59:18 +01:00
jzmaddock
490af2ef55 Unreachable line in fpclassify.hpp 2025-04-30 16:20:27 +01:00
jzmaddock
e0f1785ed3 Coverage: lambert_w.hpp, remove dead code, turn dead code to asserts. 2025-04-30 11:34:26 +01:00
jzmaddock
895a4de2ec Coverage: Remove unneeded #includes from lambert_w.hpp. 2025-04-29 16:47:44 +01:00
jzmaddock
ca4d89128a Coverage: Improve Lambert_w error handling and fix up test cases. 2025-04-29 16:42:01 +01:00
jzmaddock
a7bb5f5c8b Coverage: Add more tests for LambertW.
Also change infinities to overflow_errors, and remove dead code branch.
2025-04-29 12:24:17 +01:00