2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 16:32:10 +00:00

88 Commits

Author SHA1 Message Date
mzhelyez
0aa218a085 added examples to jamfile 2025-08-16 14:59:09 +02: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
79b4015d4d Add codecov run to CI (#1061)
Co-authored-by: Alexander Grund <Flamefire@users.noreply.github.com>
2024-01-05 09:00:24 +01:00
jzmaddock
7850b8c2dd Correct some CI test failures.
Stop referencing boost::lexical_cast even in templates which aren't instantiated.
Fix missing macro definition in tr1.hpp.
Correct include order in some tests so we get consistent definitions for BOOST_HAS_FLOAT128.
2022-01-17 19:37:08 +00:00
Matt Borland
e1601f129a Complete CI test with standalone mode (#680) 2022-01-14 08:12:22 -08: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
jzmaddock
93467954a9 Fix up Jamfiles for C++11 s a requirement.
Fixes: https://github.com/boostorg/math/issues/531.
2021-02-13 19:40:50 +00:00
Nick
9a45e6a358 AGM 2020-05-29 21:50:25 -04:00
Nick
c59659f4ed Reinch's modification to Clenshaw recurrence (#339)
* Reinch's modification to Clenshaw recurrence. [CI SKIP]

* Convert Chebyshev tests to math_unit_test.hpp

* Performance of translated Chebyshev Clenshaw recurrence. [CI SKIP]

* Prepare to use modified Clenshaw recurrence in Chebyshev transform.

* Remove unused headers from Chebyshev transform test [CI SKIP]

* Update Chebyshev transform tests to use math_unit_test.hpp
2020-04-25 09:01:05 -04:00
Nick
4294260812 Merge pull request #245 from boostorg/deprecate_cubic_b_spline
Deprecate cubic B-spline for cardinal cubic B-spline [CI SKIP]
2019-08-30 08:02:41 -04:00
pabristow
1219451047 [CI SKIP]increase tolerance from 3 to 5 eps for long double on test_recurrence.cpp to allow GCC-mingw to pass. 2019-08-29 12:55:54 +01:00
NAThompson
caf1883788 Deprecate cubic B-spline for cardinal cubic B-spline [CI SKIP] 2019-08-22 09:35:05 -04:00
jzmaddock
a426dfc911 refactor some tests so we don't get spurious CI failures. 2019-07-28 20:04:08 +01:00
Nick
046085c3aa Ooura Fourier integrals example: Remove warning by catching exception by reference. Green up build by adding quadmath to build dep. 2019-07-05 18:54:26 -04:00
pabristow
9ca9ff6b17 Add three ooura fourier integral tests to the jamfile so that the testers can run.
But may remove once they have cycled on most platforms?
2019-07-04 17:05:52 +01:00
pulver
95defb67df Add make_ftuple(), digamma(), lgamma(), tgamma(), doc/test updates. (#218)
Improve tests and coverage. C++11/14 support. (@kedarbhat)
2019-06-25 17:31:48 -07:00
pabristow
2579514f00 Comment out to remove unnecessary run of fft_sines_table.cppthat only creates a table of sines for a documentation example. [CI SKIP] 2019-05-28 15:35:09 +01:00
pabristow
129daa914f improvement to multiprecision sines_table example 2019-05-08 11:47:50 +01:00
John Maddock
067e778d75 Merge branch 'autodiff' of https://github.com/pulver/math into autodiff 2019-04-23 18:04:27 +01:00
jzmaddock
5a2cc1c56b Explicit examples in Jamfile weren't actually explicit, fix that. 2019-03-25 19:04:02 +00:00
pulver
4d8622d9bd Merge branch 'develop' into autodiff 2019-02-16 15:06:12 -05:00
Matt Pulver
1bf3ba6bd2 Fix example compiler requirements. Add <toolset>gcc-mingw:<cxxflags>-Wa,-mbig-obj to test/Jamefile.v2. Minor doc/code updates. 2019-02-14 10:54:42 -05:00
Nick Thompson
8e78096977 Add more C++11 feature requirements to barycentric_rational. 2019-02-11 21:42:12 -07:00
Nick Thompson
6c1af3a3aa Add extra C++11 features to requirements for barycentric_rational example. [CI SKIP] 2019-02-11 09:46:25 -07:00
Matt Pulver
7748f2ea19 Feedback from boostorg/math/#176 2019-02-03 20:45:35 -05:00
Nick Thompson
9362bae4fc Add extra cxx11 feature tests to example. Prevent macro substitution of min. Decrease length of unit tests for barycentric_rational from 90 seconds to 24 seconds. 2019-02-01 11:19:56 -07:00
jzmaddock
d713d9bf75 CI: clang-6 on travis has no C++17 std lib support so don't expect it to work. 2019-01-16 18:46:19 +00:00
Nick Thompson
381f663517 Merge and run CI 2018-10-28 23:27:41 -06:00
jzmaddock
d3b00f2beb Fix spelling of cxx11_explicit_conversion_operators. 2018-10-11 18:06:43 +01:00
pabristow
cdea7b6724 Added requirement explicit_conversion_operators 2018-10-11 13:59:55 +01:00
jzmaddock
43119aa7f8 Fix __float128 build support on lambert_w example. 2018-10-11 09:00:46 +01:00
pabristow
e961fb9c78 Add lambert_w new examples. 2018-10-09 15:35:08 +01:00
pabristow
20067e75e5 Added two more lambert_w examples and requires cxx_numeric_limits 2018-10-09 12:53:11 +01:00
pabristow
dadce7ae6f Added basic_lambert_w_example. 2018-10-04 17:08:06 +01:00
jzmaddock
bed980e202 Merge branch 'develop' into lambertw 2018-08-30 10:17:19 +01:00
jzmaddock
386898c089 Update continued fractions and series:
To support complex types, and better docs.
Fixes: https://github.com/boostorg/math/issues/129.
2018-08-20 21:22:06 +01:00
Brian Kuhl
70612cd472 Keep examples clean, disable build for VxWorks 2018-06-25 20:06:48 -04:00
jzmaddock
b01ea3af0d Disable brent_minimise_example.cpp in C++03. 2018-06-01 09:25:09 +01:00
pabristow
0f6d5eb059 Added brent minimisation example 2018-05-30 17:21:41 +01:00
pabristow
23ecd1a1c0 All changes before getting develop up-to-date. 2018-05-15 14:00:34 +01:00
jzmaddock
8d78990aef Add monte carlo example to the tests. 2018-02-24 19:18:48 +00:00
Nick Thompson
9dce6d8bb9 Catmull-Rom: Add example and test to build, update docs. 2017-12-22 23:30:31 -07:00
Nick Thompson
67578ce12b Naive Monte-Carlo integration. Still needs to handle exceptions in threads. 2017-11-21 18:49:14 -07:00
jzmaddock
ffc1106124 Disable barycentric example for older compilers due to change in Boost.Range. 2017-07-01 08:26:24 +01:00
jzmaddock
0fab8fd7c5 Update example Jamfile to handle older compilers. 2017-06-30 09:26:54 +01:00
jzmaddock
9651db9ea7 Rework Jamfiles to make them easier to maintain,
also added examples to CI testing.
2017-06-29 18:27:26 +01:00
jzmaddock
0d15adb16f CI: Fix some more mingw issues
Make serialization a static link and split gcc-6.3 tests into smaller blocks so we don't time out.
2017-06-05 19:49:08 +01:00
jzmaddock
540c93c542 CI: Fix more testing configuration issues.
* Disable testing the old mingw32 - it's too broken.
* Add feature dependency checks for new C++11 tests.
* Disable some tests that generate too large object files.
2017-06-05 09:32:00 +01:00
jzmaddock
47a126c938 Legendre-Stieltjes: Disable tests in C++03 mode which would fail. 2017-05-10 18:11:37 +01:00
jzmaddock
5db9e8870b Legendre_stieltjes: hook up tests.
Add concept checks.
Fix some warnings, and reduce dependencies.
2017-05-09 19:13:44 +01:00