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

106 Commits

Author SHA1 Message Date
Andrew Johnson
517a22b99e Fix parameter inconsistencies in distribution docs 2025-11-02 22:07:56 +08: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
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
45c774137d Update docs 2024-09-04 11:05:38 -04:00
Matt Borland
a3adb94aca Add GPU markers to supported dists docs 2024-09-03 10:10:38 -04:00
dschmitz89
98622966ec DOC: fix Cauchy CDF formula 2024-08-23 20:34:35 +02:00
Matt Borland
65096bee14 Add formulas for logcdf and logpdf to the tables 2024-08-13 10:01:08 -04:00
Matt Borland
d892e03070 Add notes to individual dist docs for specializations 2024-08-12 14:11:43 -04:00
Matt Borland
0d7c944752 Update non-members docs and __usual_accessors macro 2024-08-12 14:02:22 -04:00
Matt Borland
3714b9e5a0 Document logpdf, logcdf, and specializations 2024-08-12 09:59:38 -04:00
jzmaddock
1e7958da38 Add holtsmark/mapairy/saspoint5 to doc build. 2024-07-25 19:15:39 +01:00
John Maddock
e03fd8bf4f Merge branch 'stat_saspoint5' of https://github.com/tk-yoshimura/boost_math into map_airy_etc 2024-07-25 11:01:48 +01:00
John Maddock
bb25838e82 Merge branch 'stat_holtsmark' of https://github.com/tk-yoshimura/boost_math into map_airy_etc 2024-07-25 11:01:03 +01:00
John Maddock
02e08e165a Merge branch 'stat_mapairy' of https://github.com/tk-yoshimura/boost_math into map_airy_etc 2024-07-25 11:00:19 +01:00
tk-yoshimura
e407cadd0d Add saspoint5 document graphs 2024-07-23 23:21:22 +09:00
tk-yoshimura
f2a0fc9723 Add holtsmark document graphs 2024-07-23 23:12:01 +09:00
tk-yoshimura
72afe90646 Add mapairy document graphs 2024-07-23 22:56:27 +09:00
tk-yoshimura
d3f7123186 Fix: saspoint5 document about accuracy 2024-07-22 10:32:54 +09: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
tk-yoshimura
d378f70bdb Add saspoint5 document 2024-07-18 22:48:15 +09:00
tk-yoshimura
18e035a34e Fix mapairy document 2024-07-18 22:41:30 +09:00
tk-yoshimura
765e0c1e88 Add holtsmark document 2024-07-18 22:40:22 +09:00
tk-yoshimura
edfa58f0c3 Add mapairy document 2024-07-18 22:28:30 +09:00
Matt Borland
ba36dbecab Update docs 2023-05-31 09:38:47 +02:00
Matt Borland
0a222f6e92 Fix out of date links in the distribution docs (#986) 2023-05-22 13:20:02 +02:00
Gregory Lee
c001a885dc small correction to F distribution docs (#766) 2022-02-24 21:40:02 -08:00
jzmaddock
a6ee67e19a Fix 2 minor typos in distribution docs.
[CI SKIP]
2022-02-10 18:45:36 +00:00
jzmaddock
4cfcee9717 Doc update:
correct hypergeometric equation (again).
Add section on standalone usage.
2021-06-28 19:51:30 +01:00
jzmaddock
d4de174bbb Prep for 1.77:
Rework hypergeometric distro equations.
Fix up Fibonacci docs.
Fix Fibonacci constexpr and noexcept usage and add to testing.
Regenerate docs.
2021-06-27 19:38:05 +01:00
pabristow
4382d2a7c6 More changes to hypergeometric distribution documentation. 2021-06-16 11:42:37 +01:00
jzmaddock
544258569b Fixes for inspect failures in doc/ and example/ 2021-03-30 11:04:16 +01:00
Evan Miller
18ed616376 Kolmogorov-Smirnov distribution (#422)
* Kolmogorov-Smirnov distribution #421

Add a new distribution, kolmogorov_smirnov_distribution, which takes a
parameter that represents the number of observations used in a
Kolmogorov-Smirnov test. (The K-S test is a popular test for comparing
two CDFs, but the test statistic is not implemented here.)

This implementation includes Kolmogorov's original 1st order Taylor
expansion. There is a literature on the distribution's other
mathematical properties (higher order terms and exact version); this
literature is summarized in the main header file for anyone who may
want to expand the implementation later.

The CDF is implemented using a Jacobi theta function, and the PDF is a
hand-rolled derivative of that function. Quantiles plug the CDF and PDF
into a Newton-Raphson iteration. The mean and variance have nice
closed-form expressions, and the mode uses a dumb run-time maximizer.

This commit includes graphs, a ULP plotter for the PDF, and the usual
compilation and numerical tests. The test file is on the small side, but
it integrates the distribution from zero to infinity, and covers the
quantiles pretty well. As of now the numerical tests only verify
self-consistency (e.g. distribution moments and CDF-quantile relations),
so there's room to add some external checks.

* Implement skewness for K-S distribution [CI SKIP]

The third moment integrates nicely with the help of Apery's constant
(zeta_three). Verify the result via quadrature.

* Implement kurtosis for the K-S distribution

Verify the result via quadrature.
2020-09-04 08:48:51 -04:00
ambrish
3cc1ebef5e Update nc_chi_squared.qbk (#370)
* Update nc_chi_squared.qbk

* Update nc_chi_squared.qbk
2020-06-14 11:12:42 -04:00
ambrish
6462f62a9e i tried removing non-essential "/ " symbols (#367)
* i tried removing  non-essential  "/ " symbols

* Update nc_chi_squared.qbk

* updated [nu]
2020-06-11 15:19:35 -04:00
Brian Wignall
740a73c523 Fix typos 2020-01-12 15:30:30 -05:00
Nick
e5f019c62a Merge branch 'develop' into distribution_entropy 2019-12-27 14:05:19 -05:00
Brian Wignall
8b277e3ff3 Fix more typos 2019-12-26 09:18:02 -05:00
Brian Wignall
e3a45bd10b Fix typos, after fixing bug in typochecker 2019-12-25 22:42:26 -05:00
NAThompson
9505fe70e7 Merge branch 'develop' into distribution_entropy 2019-12-23 16:07:48 -05:00
NAThompson
20f553d37c Document entropy. Add entropy of gamma distribution. [CI SKIP] 2019-12-23 13:59:49 -05:00
Brian Wignall
df17d11299 Fix more typos, via latest version of typochecker tool 2019-12-20 10:41:42 -05:00
Brian Wignall
54770599d5 Fix more typos 2019-12-16 13:35:48 -05:00
Brian Wignall
ccff3fd1b3 Fix typos 2019-12-01 08:06:17 -05:00
jzmaddock
3934e61d7c Update history and regenerate docs.
Tweak some hypergeometric html file names for consistency.
[CI SKIP]
2019-10-20 20:08:19 +01:00
Nick
332b5b1679 One-sample t-test: Rearrangement of directory structure. 2019-10-06 14:59:28 -04:00
NAThompson
f9593b0990 Anderson-Darling: Clarify definition via contrasting to the NIST definition. 2019-10-05 14:15:42 -04:00
NAThompson
2b4070b501 Anderson-Darling: Add documentation and kick off build. 2019-09-28 17:20:06 -04:00
NAThompson
c76c2af1ce Empirical cumulative distribution function: Add bool flag for sorted. 2019-09-25 13:05:58 -04:00
Nick
ee555a0738 Empirical Cumulative Distribution function 2019-09-24 11:00:07 -04:00
pabristow
327c825dfa [CI SKIP] More cosmetic and link edits to get Inspect.exe passes except for links to [@boost: which shoudl work OK when built for the documentation. Ready to merge with develop, touch wood. 2019-08-12 17:53:50 +01:00