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

37 Commits

Author SHA1 Message Date
Matt Borland
3bb781afda Don't check second macro if user said to use sycl 2025-09-26 12:11:11 +02:00
Matt Borland
d95a79ba34 Include sycl header for additional error detection 2025-06-10 14:41:46 -04:00
Matt Borland
e9cd6c96fd Add GPU support to normal dist
Add SYCL testing of normal dist

Add CUDA testing of normal dist

Add NVRTC testing of normal dist

NVRTC fixes

Move headers for NVRTC support

Add GPU support to inverse gaussian dist

Add NVRTC testing of inverse Gaussian dist

Add CUDA testing of inverse gaussian dist

Add SYCL testing of inverse gaussian dist

Add GPU support to lognormal dist

Add SYCL testing of lognormal dist

Add CUDA testing of lognormal dist

Add nvrtc testing of lognormal dist

Add GPU support to negative binomial dist

Avoid float_prior on GPU platform

Add NVRTC testing of negative binomial dist

Fix ambiguous use of nextafter

Add CUDA testing of negative binomial dist

Fix float_prior workaround

Add SYCL testing of negative binomial dist

Add GPU support to non_central_beta dist

Add SYCL testing of nc beta dist

Add CUDA testing of nc beta dist

Enable generic dist handling on GPU

Add GPU support to brent_find_minima

Add NVRTC testing of nc beta dist

Add utility header

Replace non-functional macro with new function

Add GPU support to non central chi squared dist

Add SYCL testing of non central chi squared dist

Add missing macro definition

Markup generic quantile finder

Add CUDA testing of non central chi squared dist

Add NVRTC testing of non central chi squared dist

Add GPU support to the non-central f dist

Add SYCL testing of ncf

Add CUDA testing of ncf dist

Add NVRTC testing of ncf dist

Add GPU support to students_t dist

Add SYCL testing of students_t dist

Add CUDA testing of students_t

Add NVRTC testing of students_t dist

Workaround for header cycle

Add GPU support to pareto dist

Add SYCL testing of pareto dist

Add CUDA testing of pareto dist

Add NVRTC testing of pareto dist

Add missing header

Add GPU support to poisson dist

Add SYCL testing of poisson dist

Add CUDA testing of poisson dist

Add NVRTC testing of poisson dist

Add forward decl for NVRTC platform

Add GPU support to rayleigh dist

Add CUDA testing of rayleigh dist

Add SYCL testing of rayleigh dist

Add NVRTC testing of rayleigh dist

Add GPU support to triangular dist

Add SYCL testing of triangular dist

Add NVRTC testing of triangular dist

Add CUDA testing of triangular dist

Add GPU support to the uniform dist

Add CUDA testing of uniform dist

Add SYCL testing of uniform dist

Add NVRTC testing of uniform dist

Fix missing header

Add markers to docs
2024-09-06 12:10:18 -04:00
Matt Borland
b16be96d72 Fix test poisson ambiguity with numeric_limits 2024-07-26 14:05:48 -04:00
Matt Borland
eb55d0abae Add logpdf to poisson distribution 2022-02-16 15:04:21 +01:00
Brian Wignall
3c976e5e09 Fix typos 2019-12-24 21:42:09 -05:00
Brian Wignall
54770599d5 Fix more typos 2019-12-16 13:35:48 -05:00
Nick Thompson
9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
Brian Kuhl
bb6bdc4c61 Use <boost::math::policies::real> instead of <real>
Dinkum STL declares and inline real() function in the global namespace that clang can not distinguish from policies::real otherwise
2018-06-24 22:41:39 -04:00
jzmaddock
ba365b5aaa Enable running of tests with exception handling off.
And fix a few bugs that showed up in the process.
Currently msvc-only (not GCC as Boost.Test doesn't build).
2015-09-05 19:08:28 +01:00
John Maddock
6e626c1830 Fix edge case in Halley iteration where the derivative is flatlining.
Fix edge cases in poisson distribution quantile.
Fixes #8314.
Fixes #8308.
Update and regenerate docs.

[SVN r83512]
2013-03-21 13:01:50 +00:00
Gennadiy Rozental
3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
John Maddock
41bd4bd442 Update to use new out-of-bounds error checking.
Refs #6934.

[SVN r78771]
2012-05-30 16:52:18 +00:00
John Maddock
fe611467f4 Fix up tests to not run real_concept tests when BOOST_MATH_NO_REAL_CONCEPT_TESTS is set.
[SVN r78208]
2012-04-26 15:48:42 +00:00
John Maddock
887f590fcd Refactor the tests some more: allow tables of data to be of a different type to the type being tested - allows us to have tables of POD's (fast to compile) rather than tables of UDT's which compile very slowly on some compilers (usually Intel).
[SVN r76544]
2012-01-16 18:25:02 +00:00
Steven Watanabe
3524499fc0 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
f11d1c3c2b Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
John Maddock
2246b77395 Change tests to link to external Boost.Test library as this speeds build times by several factors when building with Intel C++.
Change fpclassify to use our code rather than std::fpclassify with Intel C++ as it doesn't always compile the latter.

[SVN r51576]
2009-03-03 17:16:56 +00:00
John Maddock
94181567fa Fix some Sun-5.9 on Linux failures.
[SVN r50341]
2008-12-21 10:23:52 +00:00
John Maddock
669bfb3991 Merged changes from sandbox to Trunk:
New special functions for truncation and rounding, plus exponential integrals and zeta.
New non central distributions.
Updated equation png's so that they are all consistent.

[SVN r44091]
2008-04-07 15:58:51 +00:00
John Maddock
d112d855f2 Some minor tweaks to support Sun's compiler on Linux.
[SVN r40678]
2007-11-02 08:59:24 +00:00
John Maddock
4ba0027365 Fixed lots of "inspect" issues: bad hyperlinks, tabs in source and missing licenses.
Tweaked some error levels again.

[SVN r40079]
2007-10-16 09:32:28 +00:00
John Maddock
d4c1bb24c7 Added Compaq CXX long long workaround to real_concept.hpp.
Added missing forward declaration to ellint_1.hpp.
Adjusted native log1p support for aCC.
Removed bad forward declaration of fpclassify: correct declaration appears later in the file.
Adjusted compile_test/test_compile_result.hpp to not return a NULL reference.
Adjusted permitted error-limits for new platforms.
Split some of the tests into smaller units so we don't get compiler timeouts when building (hopefully!)

[SVN r39893]
2007-10-10 16:05:26 +00:00
John Maddock
e6a8118e0c Fixed a few more regressions, and quashed a few warnings.
[SVN r38712]
2007-08-16 12:22:22 +00:00
John Maddock
c3ffe27f16 Changed the name of some of the discrete quantile policies, and more or less finished the policy tutorial.
[SVN r38609]
2007-08-12 09:24:08 +00:00
Paul A. Bristow
cb82bea11e Paul's Big policy revison
[SVN r38413]
2007-08-03 10:13:47 +00:00
John Maddock
472614473a Merged policy code.
[SVN r7536]
2007-07-25 11:51:46 +00:00
John Maddock
1b86b19af6 Changed gamma_P/gamma_Q to gamma_p/gamma_q.
[SVN r3570]
2006-12-23 17:28:30 +00:00
Paul A. Bristow
a5e0fe7f86 Updated tests for accuacy etc.
[SVN r3554]
2006-12-21 18:05:25 +00:00
Paul A. Bristow
2f47640e6c Added median tests
[SVN r3540]
2006-12-20 15:33:43 +00:00
Paul A. Bristow
117a715923 Added tests for prob smaller than cdf(0) for quantile and complement.
[SVN r3457]
2006-11-24 17:52:05 +00:00
Paul A. Bristow
c92f714cb7 Shows commit needed - not sure why but probably comment only.
[SVN r3387]
2006-11-14 14:56:23 +00:00
Paul A. Bristow
d9d5f2b21e tests revised to try to cover failures in 80 and 128 bit FP cases. Added throw checks
[SVN r3345]
2006-11-04 10:55:12 +00:00
Paul A. Bristow
55a7bcc2bb Add test for convenient construction.
[SVN r3295]
2006-10-23 10:29:56 +00:00
Paul A. Bristow
abec24fc6d More tests of optimised version (JM's best so far)
[SVN r3262]
2006-10-17 09:07:45 +00:00
Paul A. Bristow
fa33ecb003 more tests added to test new pdf and cdf code changes.
[SVN r3255]
2006-10-15 15:39:14 +00:00
Paul A. Bristow
2a191a2655 1st poisson distribuion sanity test.
[SVN r3247]
2006-10-10 15:32:21 +00:00