2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-23 05:42:15 +00:00
Commit Graph

257 Commits

Author SHA1 Message Date
Christopher Kormanyos
b0c4224d46 Repair more trivial syntax errors 2024-02-17 11:52:32 +01:00
Christopher Kormanyos
9a773eac13 Handle trivial syntax mistakes 2024-02-17 11:45:06 +01:00
Christopher Kormanyos
988ebefc8a Finish instantiation runners 2024-02-17 10:44:39 +01:00
Christopher Kormanyos
17f14ba3bf Reduce scope of changes 2024-02-16 06:10:17 +01:00
Christopher Kormanyos
7b0749cef6 Assert domain (if that makes any sense) 2024-02-15 19:20:46 +01:00
Christopher Kormanyos
281474b6e8 Standalone should handle most instantiate 2024-02-15 05:12:24 +01:00
Christopher Kormanyos
f7893afec1 Concept checks need function_reequires 2024-02-15 05:00:54 +01:00
Christopher Kormanyos
6ac4e97ce1 Allow distribution concept check in standalone 2024-02-15 04:53:20 +01:00
Christopher Kormanyos
3ce4d107dd Move coverage of instantiation 2024-02-15 04:46:21 +01:00
Christopher Kormanyos
600c26279b Repair what I got to especially default_policy 2024-02-14 18:37:20 +01:00
Christopher Kormanyos
86a0bbbdf8 Update instantiate.hpp 2024-02-14 10:49:56 +01:00
Christopher Kormanyos
a2c1def932 Investigate undefined policy 2024-02-13 21:50:06 +01:00
Christopher Kormanyos
47833d6cdb Disable Cauchy distribution concept check 2024-02-13 21:29:04 +01:00
Christopher Kormanyos
8c10b670ce Handle cygwin and standalone 2024-02-13 19:17:30 +01:00
Christopher Kormanyos
a8ff262937 Work around some creepy compiler issues 2024-02-13 18:09:48 +01:00
Christopher Kormanyos
e982eb6736 Hopefully finish first half instantiate 2024-02-13 16:09:07 +01:00
Christopher Kormanyos
8d6b63ee58 Find and repair more compile errors 2024-02-13 15:20:47 +01:00
Christopher Kormanyos
fad9639a7a Deal with hopefully last compile problems 2024-02-13 14:57:41 +01:00
Christopher Kormanyos
bf15c515bc Workaround remaining excepts/maintain params 2024-02-13 14:47:24 +01:00
Christopher Kormanyos
5ba4e9dcd5 Repair remaining typos in instantiate.hpp 2024-02-13 14:16:28 +01:00
Christopher Kormanyos
c701800ba0 Repair compilation errors 2024-02-13 14:01:38 +01:00
Christopher Kormanyos
2326d37ab5 Repair compilation errors 2024-02-13 13:29:45 +01:00
Christopher Kormanyos
3afc1bc5c2 Run and cover compile-test instantiation 2024-02-13 12:59:21 +01:00
Nick Thompson
8d47ee0f4b Include tests for optimization 2024-02-12 16:55:44 -08:00
Matt Borland
61043631b6 Add float128 testing 2023-05-16 15:02:09 +02:00
jzmaddock
c5b4d28e05 Suppress lots of warnings for std::float32_t.
Better configure promote_args test case.
2023-05-15 17:08:41 +01:00
jzmaddock
58264c02e1 Add test case for promote_args. 2023-05-14 18:40:01 +01:00
Matt Borland
bc79263bd0 Add compile tests for F32 and F64 2023-05-02 13:11:49 +02:00
Matt Borland
49df0cc017 Fix -Wmaybe-uninitialized 2023-03-06 08:42:07 -08:00
Matt Borland
f0933b401c Ignore warnings in distribution tests suite (#933) 2023-01-30 10:37:33 -08:00
Brian Wignall
1923ba5c75 Fix typos (#876) 2022-11-12 17:16:53 -08:00
Antony Polukhin
a3c2c0d0b2 Modernize exception specification (#822)
Replace `throw()` with `BOOST_NOEXCEPT_OR_NOTHROW`
2022-09-27 11:07:58 -07:00
jzmaddock
45e479deb0 Add #include tests for hypergeometric functions.
Fix the one error detected.
2022-08-04 13:37:20 +01:00
Matt Borland
c94cf596eb Suppress unused variable warning 2022-07-02 19:16:25 -07:00
Matt Borland
1cbf7e2c3d constexpr signbit (#793)
Implements constexpr signbit with annotated caveats during compile time.
2022-07-02 11:47:03 -07:00
Matt Borland
ae0fe3d751 Constexpr next (#789)
Implements constexpr: nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, and nexttowardl as described in P0533R9
2022-06-29 08:44:54 -07:00
Matt Borland
3107abaa8a Constexpr fma (#734)
* constexpr fma

* Improve use of intrinsics for calculation

* Changes to intrinsics and address sonarlint comments
2022-05-30 13:35:54 -07:00
Matt Borland
e5eae18f14 Chatterjee Correlation Coefficient (#770)
* Implement rank vector

[ci skip]

* Add documentation. Admittedly terrible.

* Add unit tests.

* Cleanup method of detecting if execution policies are valid or not

[ci skip]

* Implement and test chatterjee correlation

[ci skip]

* Add spot checks and special handling for constant Y

[ci skip]

* Add performance file

[ci skip]

* Add execution policy support to rank

[ci skip]

* Remove duplicates from v when generating the order vector

[ci skip]

* Fix macro error for use of <execution>

[ci skip]

* Use explicit types instead of auto to avoid warnings 

[ci skip]

* Add execution policy testing to rank

[ci skip]

* Add threaded implementation

[ci skip]

* Added threaded testing

* Fix formatting and ASCII issues in test

* Fix more ASCII issues

* refactoring

* Fix threaded impl

* Remove non-ASCII apostrophe

[ci skip]

* Doc fixes and add test comparing generally to paper values

* Significantly tighten tolerance around expected values from paper

* Change tolerance for sin comparison

Co-authored-by: Nick Thompson <nathompson7@protonmail.com>
2022-05-25 08:13:24 -07:00
Matt Borland
eb422bcead Merge pull request #762 from mborland/logpdf
Logpdf support
2022-04-18 18:45:50 -07:00
Matt Borland
73708be874 Add logpdf to compile tests 2022-04-16 17:34:25 -07:00
Matt Borland
722bddbd68 Add include guard to fftw3 in library and compile tests (#768) 2022-02-28 09:58:09 -08:00
Matt Borland
e8c40e309c Implement logaddexp (#763)
* Implement logaddexp

* Disable test for ASAN

* Implement logsumexp

* Add performance file and include results in the docs

* Address review comments

* Simplify overflow test and comply with min/max guidelines

* Minor cleanup

* FIxes to comments and docs [ci skip]

* Return status code.

Co-authored-by: Nick Thompson <nathompson7@protonmail.com>
2022-02-24 07:55:25 -08:00
Matt Borland
3e950d9e3a Color Maps (#752)
* Color Maps

* Make color maps constexpr

[ci skip]

* Add newton fractal example

[ci skip]

* Remove some unused code.

* Make the color map base class generic in size

Fix naming convention
[ci skip]

* Begin documentation.

* Move helper functions from example into tools header

[ci skip]

* Update docs and remove non-ASCII characters from example

* Add image to docs

* Reduce size of virdis_newton_fractal from 1.31MB to 131KB

[ci skip]

* Add performance file

* Don't force linear complexity and fix CI failure for old clang versions

* Convert color_maps to free functions.

* Add missing header and remove constexpr test

* Convert tabs to spaces

[ci skip]

* Fix compile tests and make static constexpr uniform across data

* Add swatches to docs.

* Fix image links in docs

[ci skip]

Co-authored-by: Nick Thompson <nathompson7@protonmail.com>
2022-02-09 11:19:38 +01:00
Matt Borland
50008bb6ba constexpr isunordered (#745) 2022-01-21 08:07:07 -08: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
Matt Borland
18a0874056 Constexpr comparison functions (#736) 2022-01-09 09:28:13 -08:00
Matt Borland
9e369be7a4 Constexpr fmin and fmax (#732) 2022-01-06 11:02:41 -08:00
Matt Borland
3ce09d5739 Constexpr fdim (#730) 2022-01-05 07:01:22 -08:00
Matt Borland
7339acd01a constexpr copysign (#701)
* constexpr copysign

* Fix for mingw test failure
2021-10-10 10:38:26 -07:00