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

1755 Commits

Author SHA1 Message Date
Jacob Hass
562f4cc793 Added documentation for 2026-01-01 10:44:48 -08:00
Andrew Johnson
517a22b99e Fix parameter inconsistencies in distribution docs 2025-11-02 22:07:56 +08:00
Matt Borland
37c492e411 Add doc note that SYCL support is opt-in 2025-09-26 08:20:41 +02:00
Matt Borland
758a9fca35 Merge pull request #1319 from demroz/fix-long-running-tests
Fix long running tests
2025-09-18 07:41:57 +02:00
mzhelyez
9224e97eeb should fix c++23 types 2025-09-17 19:59:47 +02:00
mzhelyez
274415a520 doc fix 2025-09-13 15:19:47 +02:00
mzhelyez
f4ef5c6a5d updated compile tests 2025-09-13 15:02:54 +02:00
Matt Borland
04b5fef805 Merge remote-tracking branch 'origin/develop' into develop 2025-09-10 10:28:45 +02:00
mzhelyez
fb72a65058 added licence to some files, removed unused tests 2025-09-09 20:07:20 +02:00
mzhelyez
9a5158c23d added licence, hopefully fixed the jamfile, modified docs, fixed airy prime 2025-09-09 19:34:45 +02:00
mzhelyez
26f4e2b094 autogenerated compile tests and added table to docs 2025-09-08 17:45:39 +02:00
Matt Borland
b8e1276b79 Add doc blurb 2025-09-08 13:52:41 +02:00
Andrew Johnson
5561669db1 Fix return type in catmull_rom doc 2025-08-29 19:43:57 +08:00
mzhelyez
b936754c1a added docs and renamed ET macro 2025-08-27 05:27:54 +02:00
mzhelyez
af4d914267 rewrote reverse mode over reverse mode part of docs 2025-08-25 13:02:49 +02:00
mzhelyez
33e2c249dd modified docs 2025-08-25 12:47:32 +02:00
Maksym Zhelyeznyakov
d3e440cb9e Apply suggestions from code review
Co-authored-by: Matt Borland <matt@mattborland.com>
2025-08-25 12:32:20 +02:00
Maksym Zhelyeznyakov
b390ae077d Update doc/differentiation/autodiff_reverse.qbk
Co-authored-by: Matt Borland <matt@mattborland.com>
2025-08-25 12:31:27 +02:00
mzhelyez
8bb3a24162 added graphs 2025-08-24 14:16:55 +02:00
mzhelyez
1c7ef46ceb added autodiff reverse docs 2025-08-24 14:13:26 +02:00
Andrew Johnson
96f12fc564 Remove documentation for z-test function which doesn't exist 2025-08-17 00:10:49 +08:00
Matt Borland
483f36c067 Merge pull request #1297 from boostorg/1296
Add `logit`, `logistic_sigmoid`, and use in `logistic` dist to support promotion policies
2025-08-14 14:09:01 +02:00
Matt Borland
067c6e7a5e Add documentation 2025-08-14 11:14:35 +02:00
Matt Borland
0353afe0d7 Add log_pi to pi related constants doc section 2025-08-14 09:53:05 +02:00
Tomato-in
af8ba3f7b2 Adjust parameter order in Differential Evolution algorithm
Problem Description
The optimization module implements four algorithms: Differential
Evolution, Algorithm jSO, Random Search, and Evolution Strategy with
Covariance Matrix Adaptation. All these algorithms accept seven
parameters: `cost_function`, `params`, `gen`, `value_to_reach`,
`cancellation`, `current_minimum_cost`, and `queries`. Unfortunately,
the Differential Evolution algorithm doesn't maintain parameter
consistency with the other three algorithms: the last two parameters
(`current_minimum_cost` and `queries`) are in reverse order compared to
the other algorithms. This appears to be an unintentional oversight.

Solution
- Adjust the parameter order in the Differential Evolution algorithm to ensure consistency with other optimization algorithms
- Update the algorithm documentation accordingly
(No changes to example code were needed as the examples don't use these two parameters)
2025-05-15 07:19:58 -07: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
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
8f843fd131 Merge branch 'master' into develop 2024-10-29 08:51:15 -04:00
Matt Borland
bbb8eee1d6 Add GPU support to expint
Add SYCL testing of expint

Add markers to forward decls

Add CUDA testing of expint

Fix static variable usage under NVRTC

Add NVRTC testing

Add configurable definition of complex

Add function aliases

Add GPU support to gegenbauer polynomials

Add SYCL testing of gegenbauer

Add NVCC testing of gegenbauer

Add NVRTC testing of gegenbauer

Add GPU support for hankel

Add SYCL testing of hankel

Add NVCC testing of cyl_hankel_1

Add comprehensive NVCC testing

Add NVRTC testing of cyl and sph hankel

Update docs

Fix writing cuda::std::complex<T> to stdout

Add GPU support to hermite

Add SYCL testing of hermite

Add CUDA testing of hermite

Add NVRTC testing of hermite

Add markers to hermite docs
2024-09-17 15:24:02 -04:00
Matt Borland
1324401c92 Add GPU support to airy functions
Add SYCL testing of ariy functions

Add CUDA testing of airy functions

Add NVRTC testing of airy functions

Add GPU support to ellint rc

Add GPU support to ellint rd

Add GPU support to ellint rf

Add GPU support to ellint rg

Add GPU support to ellint rj

Add GPU support to ellint d

Add GPU support to ellint_1

Markup forward and add ellint_3 return type def for NVRTC platform

Add CUDA testing of ellint 1

NVRTC fixes

Add NVRTC testing of ellint_1

Add GPU support to ellint_2

Add CUDA testing of ellint_2

Fix NVRTC errors

Add NVRTC testing of ellint_2

Add GPU support to atanh

Add GPU support to ellint_3

Add NVRTC testing of ellint_3

Add CUDA testing of ellint_3

Replace use of static const char*

Add SYCL testing of ellint_1

Add SYCL testing of ellint 2 with slight tolerance bump

Remove recursion from ellint_rj

Add ellint_d CUDA testing

Add NVRTC testing of ellint_d

Add SYCL testing of ellint_d

Remove SYCL ellint_3 support

Update docs

Add GPU support to jacobi zeta

Add CUDA testing of jacobi zeta

Add NVRTC testing of jacobi zeta

Add SYCL testing of jacobi zeta

Add GPU support to heuman_lambda

Add NVRTC testing of heuman lambda

Add CUDA testing of heuman_lambda

Add SYCL testing of heuman lambda

Add markers to docs

Add marker for CUDA only functions in the docs
2024-09-16 14:04:14 -04:00
Matt Borland
b5214b5935 Add device only impl
Add function for device only impl

Fix function signatures

Fix arrays

Add basic test for compilation

Allow serial implementation to be run on host under NVCC

Add verification steps

Add arrays of levels coefficient sizes

Cleanup test set

Add double test set

Add structure for the doubles support

Save space by using pointer to different size arrays rather than 2d

Separate the double precision weights into their own arrays

Remove stray call to std::abs

Add NVRTC testing

Add documentation section

Add device function signature for sinh_sinh_integrate

Add float coefficients

Add double coeffs

Add device specific impl

Add sinh_sinh CUDA testing

Add sinh_sinh NVRTC testing
2024-09-12 10:25:17 -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
1e9b2ccbf9 Merge pull request #1191 from boostorg/gpu_docs
Begin documenting GPU support
2024-09-06 11:28:23 -04:00
René Ferdinand Rivera Morell
41f07b0794 Add support for modular build structure. (#1160)
* Make the library modular usable.

* Fix -Wundef warnings

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add missing NO_LIB usage requirements.

* Remove boost-root relative include path.

* Add missing import-search for cconfig/predef checks.

* Add requires-b2 check to top-level build file.

* Sync upstream.

* Fix typo in test framework reference.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Switch to /boost/test//included target for header only mode of Boost.Test.

* Adjust doc build to avoid boost-root references.

* Update build deps.

* Fix project props not applying to the no_eh.obj compile.

* Update build deps.

* Add missing import-search.

* Fix float128_type checks to actually disable tests. Problem was that build is a non-free feature. Which can't be acquired through a usage requirement.

* GPU Batch 7

Fix igamma_large support on device

Add GPU support to toms748

Add GPU support to igamma_inv

Add GPU markers to gamma_inva

Add GPU Markers to lgamma_small

Remove STL usage from gamma

Remove NVRTC workaround

Fix fraction use of STL headers

Mark gamma functions in fwd

Disable declval on all GPU platforms

Disable more unneeded code on device

Add forward decl for NVRTC tgamma

Disable unneeded items for all GPU

Change workaround for missing overloads

Rearrange definition location

Add include path to cuda now that workaround is removed

Fix NVRTC incompatibility with recursion and forward decls

Add tgamma_ratio CUDA and NVRTC testing

Fix NVRTC handling of gamma_p_derivative

Add gamma_p_derivative CUDA and NVRTC testing

Remove recursion from gamma_incomplete_imp

Add SYCL testing of igamma, igamma_inv, and igamma_inva

Ignore literal-range warnings

Remove use of static const char* for function name

Fix missing CUDA header

Remove calls under NVRTC to fwd decl

Add more nvrtc workarounds

Use builtin erfc instead of header cycle

Add CUDA and NVRTC testing of gamma_p_inv

Adjust tolerances

Add GPU support to chi squared dist

Fix static local variable

Add chi squared dist SYCL testing

Add chi squared dist CUDA testing

Add chi squared dist NVRTC testing

Add GPU support to weibull dist

Add weibull dist SYCL testing

Add weibull dist CUDA testing

Add weibull dist NVRTC testing

* Fix policy macro definition for MSVC platforms

* Don't add quadmath lib for has_128bit_floatmax_t check. It was accidentally copy+pasted.

* Fix incorrect name for float128 type check that caused it to not apear.

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
2024-09-06 08:45:23 -04:00
Matt Borland
45c774137d Update docs 2024-09-04 11:05:38 -04:00
Matt Borland
b8c33953e6 Fix missing end section 2024-09-03 10:33:56 -04:00
Matt Borland
2def550bfe Replace broken umalut-o with oe (Ersatzschreibung) 2024-09-03 10:10:48 -04:00
Matt Borland
e6db32aa0a Add markers to Newton-Rhapson 2024-09-03 10:10:44 -04:00
Matt Borland
846b7a60d1 Add markers to special functions 2024-09-03 10:10:41 -04:00
Matt Borland
a3adb94aca Add GPU markers to supported dists docs 2024-09-03 10:10:38 -04:00
Matt Borland
82adb328e7 Annotate GPU markers in constants doc with type caveat 2024-09-03 10:10:35 -04:00
Matt Borland
814cb6e49f Add overview 2024-09-03 10:10:30 -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
4c2cdc2cf6 Regenerate docs. 2024-08-06 13:18:32 +01:00
jzmaddock
14c177413c Update history. 2024-08-06 13:07:45 +01:00
jzmaddock
4b9c5b0e78 Update history. 2024-08-06 13:06:09 +01:00