3661 Commits

Author SHA1 Message Date
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
ckormanyos bc0635f5be Continue try repair LCOV code annotations 2025-04-27 16:18:47 +02:00
ckormanyos 9f0490ea81 Clear up LCOV code annotations 2025-04-27 15:59:59 +02:00
ckormanyos a029727a16 Repair a silly typo that slipped in 2025-04-27 15:12:25 +02:00
ckormanyos 0c973c9286 Address review and tune more syntax 2025-04-27 13:48:06 +02:00
ckormanyos e92330ad5d Handle various conversion warnings 2025-04-27 08:55:49 +02:00
jzmaddock 33f80d9127 Coverage: Correct expected error rates on arm and s390,
Correct float128 log1p dispatch call.
2025-04-25 19:00:49 +01:00
jzmaddock f1da303cbf Coverage: change FP_INFINITE to BOOST_MATH_FP_INFINITE 2025-04-25 12:53:56 +01:00
jzmaddock 5e5cdeeed1 Coverage: Correct assertions in gamma.hpp. 2025-04-22 16:50:46 +01:00
jzmaddock 7a249485fd BOOST_ASSERT->BOOST_MATH_ASSERT 2025-04-22 16:27:49 +01:00
jzmaddock 84f83b328c Coverage: Remove and assert currently unused p_derivative calculations,
In incomplete gamma.
2025-04-22 16:13:56 +01:00
jzmaddock 4a3d3bc66e Coverage: Improve gamma.hpp. 2025-04-22 10:13:08 +01:00
jzmaddock ca6e976716 Warning fix in ellint_rj.hpp 2025-04-22 10:11:27 +01:00
jzmaddock 255dbc9201 Coverage: erf, exclude block known to be covered by __float128 tests. 2025-04-21 15:46:18 +01:00
jzmaddock 2600de8431 Coverage: Digamma exclude another MP-only function. 2025-04-21 15:45:30 +01:00
jzmaddock 760fca3743 Remove MP test case: our test data isn't precise enough.
Disable MP expm1 from coverage check.
2025-04-21 12:14:39 +01:00
jzmaddock ce9c72d350 expint: coverage cosmetic change. 2025-04-21 09:56:43 +01:00
jzmaddock 2bd29ae5db erf: exclude __float128 case from coverage. 2025-04-21 09:55:08 +01:00
jzmaddock b0a9ffb231 Correct erf reflection logic (fixes CUDA change). 2025-04-21 09:52:55 +01:00
jzmaddock 56f56115f9 Remove duplicated error handling from ellint_rj. 2025-04-21 09:41:53 +01:00
jzmaddock 63d559cc9a Digamma coverage tidy up. 2025-04-21 09:24:32 +01:00
jzmaddock 54b057bb51 Modernise log1p/expm1 to mostly use their std:: equivalents.
Add support for <cstdfloat> types as well.
Extend tests for better coverage.
2025-04-19 13:35:23 +01:00
jzmaddock b0200e41d1 Correct macro name for standalone. 2025-04-18 21:02:52 +01:00
jzmaddock 00870090bd Correct macro name for standalone usage. 2025-04-18 19:59:23 +01:00
jzmaddock 8107e55faf Merge branch 'develop' into improve_coverage_3
Fixed Conflicts:
	include/boost/math/special_functions/detail/bessel_ik.hpp
	include/boost/math/special_functions/detail/bessel_j1.hpp
	include/boost/math/special_functions/detail/bessel_k0.hpp
	include/boost/math/special_functions/detail/bessel_k1.hpp
	include/boost/math/special_functions/detail/igamma_large.hpp
	include/boost/math/special_functions/detail/lgamma_small.hpp
	include/boost/math/special_functions/expint.hpp
	include/boost/math/special_functions/expm1.hpp
	include/boost/math/special_functions/gamma.hpp
	include/boost/math/special_functions/log1p.hpp
	include/boost/math/special_functions/trigamma.hpp
	test/Jamfile.v2
	test/test_expint.cpp
2025-04-18 19:45:05 +01:00
jzmaddock 01dbedcb0a Merge pull request #1260 from boostorg/issue1247
Prevent spurious numeric underflow in ibeta_series.
2025-04-18 11:26:51 +01:00
jzmaddock 7a41ad8f1f Merge pull request #1181 from fsb4000/fix_warnings
Fix warning C4701: "potentially uninitialized local variable used"
2025-04-18 09:49:51 +01:00
jzmaddock 54a558451a Prevent spurious numeric underflow in ibeta_series.
Fixes #1247.
2025-04-17 19:51:24 +01:00
jzmaddock deb439132f Update MacOS error rate for new test.
Add better calculation for y.
2025-04-17 11:17:28 +01:00
jzmaddock 8c7ff156e4 Readjust heuristics. 2025-04-16 19:20:27 +01:00
jzmaddock e19554c55d Fix for inverse ibeta with large a,b.
In this case Temme's method may fail as the incomplete gamma can't cope, but as the function changes over from 0 to 1 very rapidly, we can just use the saddle point as a reasonable starting location for iteration.
See https://github.com/scipy/scipy/issues/21725.
2025-04-16 17:57:20 +01:00
jzmaddock a0fd863c1f Make variadic functions C++26 safe. 2025-04-14 12:32:45 +01:00
jzmaddock ddd803296f Merge pull request #1257 from boostorg/issue1198
Collected fixes for incomplete beta in the asymptotic large a/b region
2025-04-14 12:17:54 +01:00
jzmaddock a84766d160 Use correct namespace! 2025-04-13 11:43:09 +01:00
jzmaddock c9c27c5e13 Correct changed Bessel logic. 2025-04-13 10:12:15 +01:00
John Maddock b98153a5a2 Merge branch 'develop' into issue1198 2025-04-12 15:35:39 +01:00
ckormanyos ad2111fccd Merge branch 'ci_dep' into issue1255 2025-04-12 15:07:33 +02:00
jzmaddock 8e5df72a92 Add workaround for std::float64_t in large constants. 2025-04-12 12:38:54 +01:00
jzmaddock 14b2059b35 Correct beta call so it's not ambiguous. 2025-04-11 18:01:32 +01:00
ckormanyos d07b79d377 Handle issue 1255 and update docs 2025-04-11 12:49:36 +02:00
jzmaddock 20b5692940 Use the correct comparison in bessel_ik.hpp. 2025-04-10 18:54:17 +01:00
jzmaddock dd59c01ac8 Fixes for #1198.
Use asymptotic expansion for very large a,b and add test cases.
Add some corrections to improve numeric stability.
Add better error handling of cases that explode so we get evaluation_error's.
2025-04-10 18:52:35 +01:00
jzmaddock 4d58e93b5d Fix first test case from https://github.com/boostorg/math/issues/1198 and add test case. 2025-03-28 18:19:42 +00:00
Warren Weckesser 2fda707186 MAINT: Remove an obsolete comment in skew_normal.hpp. 2025-01-24 21:18:22 -05:00
Warren Weckesser 242d36c3c5 MAINT: Remove a comment about the number of distributions.
Apparently this comment is not being maintained.
2025-01-24 21:16:32 -05:00
Pavel P dfa0bd6ee6 Fix check for clang warning -Wnan-infinity-disabled 2025-01-23 17:55:02 +02:00
Alejandro Baranek 2f3c7985f7 Update gamma.hpp (#1236)
* Update gamma.hpp

Missing name for Lanczos parameter in gamma_imp_final

* Update gamma.hpp

* Change location of void and annotate

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
2025-01-21 16:15:52 -05:00
Warren Weckesser 7d6f32045a Simplify the formula for the CDF of the Cauchy distribution.
The Cauchy CDF function may be expressed as atan2(1, -x)/pi.
2025-01-16 23:07:27 -05:00
Youssef LAKHAL adaf1bfd06 Fix constexpr cmath floor of 1 returning 0 #1232 2025-01-12 15:54:47 +01:00
ckormanyos 56aadecb62 Repair typo in max_digits10 2024-12-23 14:21:34 +01:00