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

3311 Commits

Author SHA1 Message Date
Matt Borland
bb0716d3af Mark constants as CUDA 2024-07-23 08:09:24 -04:00
Matt Borland
fbf5a7f15e Replace use of std::string with char* 2024-07-23 08:09:15 -04:00
Matt Borland
96921dae22 Add new definitions of classification functions 2024-07-23 08:09:03 -04:00
Matt Borland
ec3d237aca First cut at CUDA allowed policies 2024-07-23 08:08:53 -04:00
Matt Borland
980a10cc8b Add config option to return NANs 2024-07-23 08:08:44 -04:00
Matt Borland
977ccbf7b0 Add CUDA definition of force inline ignoring that of the host compiler 2024-07-23 08:08:32 -04:00
Matt Borland
f62b73a556 Add cuda markers to arcsine distribution 2024-07-23 08:08:02 -04:00
Matt Borland
b42048cf02 Add CUDA markers to polynomial class 2024-07-23 08:07:44 -04:00
Matt Borland
964d4943cd Add CUDA markers to binomial dist 2024-07-23 08:07:35 -04:00
Matt Borland
d04988c907 Add additional macro for local static variables 2024-07-23 08:07:18 -04:00
Matt Borland
2a16fe3557 Add additional configuration macros 2024-07-23 08:07:00 -04:00
jzmaddock
07d97df50c Landau Integration testing (#1159)
* Add landau distribution

* Add landau limit test case

* Add landau document

* Landau integration testing.
Hook up tests to Jamfile.
Hook up docs by adding to dist_reference.qbk.
Add std::float64_t tests.
Hook up concept tests in instantiate.hpp.
Add to distributions.hpp
Update static_asserts with better error messages.
Add header inclusion test in dist_landau_incl_test.cpp (and fix resulting errors)

* Add missing #include.

* More Landau test fixes.

* Fix C++23 stdfloat test names.

* Final (doc) update to Landau.

---------

Co-authored-by: tk-yoshimura <yoshimura8192@gmail.com>
2024-07-21 11:54:58 +01:00
jzmaddock
7de81456dc Remove overload no longer required by multiprecision. 2024-06-15 16:08:35 +01:00
jzmaddock
dfc2934865 Update Bessel functions at infinity. (#1144)
* Update Bessel functions at infinity.
Also sinc functions, and update tests.
Fixes https://github.com/boostorg/math/issues/1143.

* Correct some test failures.

* Yikes, correct missing if.

* Temporary fix for multiprecision.
REMOVE THIS.
2024-06-14 18:34:24 +01:00
Lukas Riebel
dff806a50a make boost::math::ccmath::fminf and boost::math::ccmath::fminl constexpr 2024-06-14 09:12:33 +02:00
jzmaddock
70cdb37759 Merge pull request #1141 from boostorg/nc_t_improvements
Prevent passing denormals in calculation.
2024-06-02 15:25:36 +01:00
jzmaddock
20f44d1275 Work through more CI failures. 2024-06-02 12:04:09 +01:00
jzmaddock
2bea451ac8 Correct conceptual failings, remove tests which can't possibly succeed. 2024-05-31 18:57:37 +01:00
jzmaddock
69443ab9a5 Correct isfinite call. 2024-05-31 18:04:04 +01:00
jzmaddock
eb42cba0c4 Lots of warning suppressions. 2024-05-31 18:03:27 +01:00
jzmaddock
18f49f94f5 Allow exp_sinh to be used on non-exception environments. 2024-05-31 16:58:41 +01:00
jzmaddock
70b6ab76e3 Jacobi Zeta: remove unused variable. 2024-05-31 11:55:38 +01:00
jzmaddock
9e6f2b1b40 Update Non central T PDF:
Lot's more tests, especially in the tails.
Added Hypergeometric and Integration methods as fallbacks.
2024-05-31 11:54:52 +01:00
jzmaddock
f28c7764f1 Add non central t PDF integral tests.
Fix exp_sinh issues so that it does actually find the integral.
2024-05-30 12:29:35 +01:00
Matt Borland
76c68889ff Regenerate code 2024-05-30 08:47:12 +02:00
jzmaddock
5e7fec6a11 Poisson part can be negative, take fabs of product
when checking for small values.
2024-05-24 10:22:35 +01:00
jzmaddock
0b2aa546dd Prevent passing denormals in calculation.
Refs https://github.com/scipy/scipy/issues/20693
2024-05-23 19:05:39 +01:00
Matt Borland
9b3b9beec5 Add guards to avoid stomping on user config 2024-05-22 08:58:58 +02:00
jzmaddock
f3e0cde514 Correct float_next(+INF) and float_prior(-INF)
Fixes https://github.com/boostorg/math/issues/1132
2024-05-17 19:17:04 +01:00
jzmaddock
92f5e2b1ca Correct loop termination conditions. 2024-05-17 10:26:21 +01:00
jzmaddock
c69c393f36 Correct spurious underflow issues in non-central beta and t (also effects nc-F via beta).
See https://github.com/scipy/scipy/issues/20693.
2024-05-16 18:28:32 +01:00
jzmaddock
3dafc076e8 Correct ellint_1 logic for types with no infinity.
Fixes multiprecision failures.
2024-05-03 18:07:06 +01:00
John Maddock
c61c4af823 Merge branch 'develop' into issue1120 2024-05-03 11:27:07 +01:00
jzmaddock
a243640bad Merge pull request #1125 from boostorg/heuman_lambda_precision
Improve Heuman Lambda precision:
2024-05-03 11:25:45 +01:00
jzmaddock
4a279bc475 Change literal type to floats. 2024-05-02 19:16:50 +01:00
Matt Borland
1303786371 Update include/boost/math/distributions/geometric.hpp 2024-04-30 08:18:36 +02:00
Alejandro Baranek
419f44ada1 Update geometric.hpp
Implemented suggested change in
https://github.com/boostorg/math/pull/1127#pullrequestreview-2029296711
2024-04-29 17:10:33 -03:00
Alejandro Baranek
52af702c88 Update geometric.hpp
The proposal is derived from this issue
https://github.com/boostorg/math/issues/1126
2024-04-29 15:26:14 -03:00
jzmaddock
f5db0cbf3f Remove unused typedefs. 2024-04-26 09:14:53 +01:00
jzmaddock
cfab531eb9 Improve Heuman Lambda precision:
Make sure we pass 1 - k^2 down through the call stack otherwise we get cancellation errors.
2024-04-25 19:53:01 +01:00
jzmaddock
a194dc580d Clean up skew normal quantile with one Newton step.
Improve test case.
2024-04-22 19:02:28 +01:00
jzmaddock
db90dfd709 Change skew normal quantile to use bracket_and_solve_root.
Rather than Newton iterations.
Add test case.
Fixes https://github.com/boostorg/math/issues/1120
2024-04-21 17:19:16 +01:00
Matt Borland
4d20bfd0bf Fix X11 naming clash in roots 2024-03-27 12:40:48 +01:00
Matt Borland
30cb6fc1fe Fix -Wundef warnings 2024-03-11 10:22:06 +01:00
jzmaddock
ebe7b36676 More coverage markup on erf/erfc. 2024-02-27 13:06:32 +00:00
jzmaddock
5372b2dbec Fix up erf error handling.
Cull a few warnings.
2024-02-27 10:46:49 +00:00
jzmaddock
f92fb8cd60 Mark up lanczos tabular data for code coverage.
Remove unneeded (in C++11) initializers.
2024-02-26 20:05:46 +00:00
jzmaddock
42a0573773 erf/erfc and inverses coverage. 2024-02-26 19:36:22 +00:00
jzmaddock
7787871a09 BOOST_ASSERT->BOOST_MATH_ASSERT 2024-02-26 17:50:19 +00:00
jzmaddock
adcb77023a Merge branch 'develop' into improve_coverage_2
Fixed Conflicts:
	include/boost/math/special_functions/ellint_1.hpp
	include/boost/math/special_functions/ellint_2.hpp
2024-02-26 09:51:03 +00:00