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

7450 Commits

Author SHA1 Message Date
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
a2fbc935b9 Merge pull request #1258 from boostorg/issue1252
Make variadic functions C++26 safe.
2025-04-14 16:00:59 +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
e8c86a8f12 Restrict the most extreme tests to types that are evaluated at 80-bit precision or less. 2025-04-14 09:39:57 +01:00
jzmaddock
0093714533 Correct MacOS expected failure rates order. 2025-04-13 12:20:35 +01:00
jzmaddock
82d0b62adc Tweak MacOS error rates. 2025-04-13 11:43:53 +01:00
jzmaddock
38833a0804 Add copyright/licence. 2025-04-13 11:43:33 +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
Christopher Kormanyos
6ba549ba5b Merge pull request #1256 from boostorg/issue1255
Fix #1255 via handle `cyl_bessel_y` small-arg and update docs
2025-04-12 19:09:01 +02:00
ckormanyos
76dede030e Merge branch 'develop' into issue1255 2025-04-12 16:58:58 +02:00
John Maddock
b98153a5a2 Merge branch 'develop' into issue1198 2025-04-12 15:35:39 +01:00
jzmaddock
e8181069f8 Merge pull request #1254 from boostorg/ci_dep
Replace deprecated runners in CI
2025-04-12 15:34:10 +01:00
ckormanyos
ad2111fccd Merge branch 'ci_dep' into issue1255 2025-04-12 15:07:33 +02:00
jzmaddock
5a41763ea7 Correct #include. 2025-04-12 12:39:46 +01:00
jzmaddock
ed88f0ad09 Remove unneeded dependencies from Jamfile all together. 2025-04-12 12:39:27 +01:00
jzmaddock
8e5df72a92 Add workaround for std::float64_t in large constants. 2025-04-12 12:38:54 +01:00
jzmaddock
de452a3fad Correct compiler versions in CI. 2025-04-12 12:38:21 +01:00
ckormanyos
30be128a84 Repair test 1255 and adapt to double 2025-04-12 11:15:13 +02:00
jzmaddock
f795270b0d Tentative build failure fix. 2025-04-11 20:08:59 +01:00
jzmaddock
14b2059b35 Correct beta call so it's not ambiguous. 2025-04-11 18:01:32 +01:00
Matt Borland
b9aa78f889 Increment library version 2025-04-11 08:04:39 -04: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
Matt Borland
999bf47433 Replace deprecated runners in CI 2025-04-08 13:51:48 -04: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
Matt Borland
a5c062542a Merge pull request #1239 from WarrenWeckesser/misc-corrections 2025-01-27 09:26:54 -05:00
Warren Weckesser
2fda707186 MAINT: Remove an obsolete comment in skew_normal.hpp. 2025-01-24 21:18:22 -05:00
Warren Weckesser
dd02f2278a DOC: Fix a typo in the example test driver program in special_tut.qbk. 2025-01-24 21:16:32 -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
Warren Weckesser
814632540b MAINT: Fix a repeated typo in a comment in several test files. 2025-01-24 21:15:54 -05:00
Matt Borland
7e5e9205a8 Merge pull request #1238 from pps83/develop-warnfix
Fix check for clang warning -Wnan-infinity-disabled
2025-01-23 14:01:26 -05:00
Matt Borland
61b87dff32 Merge pull request #1237 from WarrenWeckesser/doc-cauchy-cdf
DOC: Update description of the Cauchy cdf and its complement.
2025-01-23 14:00:28 -05:00
Pavel P
dfa0bd6ee6 Fix check for clang warning -Wnan-infinity-disabled 2025-01-23 17:55:02 +02:00
Warren Weckesser
742b5cccdd DOC: Update description of the Cauchy cdf and its complement.
Also add a missing closing parenthesis in the pdf expression.
2025-01-22 15:11:29 -05: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
Matt Borland
024a4fed70 Merge pull request #1234 from WarrenWeckesser/simplify-cauchy-cdf
Simplify the formula for the CDF of the Cauchy distribution.
2025-01-17 08:12:47 -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
Matt Borland
933faf4d2c Merge pull request #1233 from yousseflakhal/fix-constexpr-floor
Fix constexpr cmath floor of 1 returning 0 #1232
2025-01-13 08:49:07 -05:00
Youssef LAKHAL
adaf1bfd06 Fix constexpr cmath floor of 1 returning 0 #1232 2025-01-12 15:54:47 +01:00
Christopher Kormanyos
c5d36664fd Merge pull request #1228 from boostorg/query_bessel_kn
Query cyl_bessel_k for cpp_double_double
2024-12-24 12:30:52 +01:00
ckormanyos
e24754779e Repair typo in cyl_bessel_k_prime test 2024-12-23 19:15:13 +01:00
ckormanyos
55a2181e8b Modify extreme test case from #1228 2024-12-23 18:51:41 +01:00
ckormanyos
56aadecb62 Repair typo in max_digits10 2024-12-23 14:21:34 +01:00
ckormanyos
2a7bef3410 Query cyl_bessel_k for cpp_double_double 2024-12-22 14:43:19 +01:00
Matt Borland
52b029ffa1 Merge pull request #1225 from boostorg/fix_warn 2024-12-19 15:48:25 -05:00