2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-27 17:12:22 +00:00
Commit Graph

6248 Commits

Author SHA1 Message Date
John Maddock
85e2a554b6 Merge branch 'develop' 2022-06-24 09:02:08 +01:00
jzmaddock
7df6a2895d Merge pull request #792 from jwakely/patch-1
Replace non-UTF-8 copyright character
2022-06-14 17:58:06 +01:00
Jonathan Wakely
b3cec0c732 Replace non-UTF-8 copyright character 2022-06-14 17:55:04 +01:00
jzmaddock
281dda0e88 Merge pull request #791 from boostorg/consolidate_tests
Try and consolidate more Github tests.
2022-06-07 08:40:36 +01:00
jzmaddock
48f20e9f82 Split windows-gcc jobs into smaller chunks again.
These are much much slower than anything else.
2022-06-06 18:44:24 +01:00
jzmaddock
d4c71ea9db Fix up multiprc_concept_check_2.cpp for standalone tests. 2022-06-06 12:04:40 +01:00
jzmaddock
ce370f8627 Fix up test_polynomial.cpp for standalone test. 2022-06-06 09:07:36 +01:00
jzmaddock
c5c01b675c Try and consolidate more Github tests.
In the hopes of speeding up CI build times.
2022-06-05 19:43:43 +01:00
jzmaddock
54032b33e0 Merge pull request #790 from boostorg/ci_adjust_2022
Move all GCC-5/6 testing to drone.
2022-06-04 09:19:53 +01:00
jzmaddock
6f71893098 Correct clang-6 invocation name in drone. 2022-06-03 18:03:17 +01:00
jzmaddock
c02046fab5 Attempt to correct drone config. 2022-06-03 09:20:27 +01:00
jzmaddock
9225339131 Remove duplicate pipeline name in drone config. 2022-06-02 18:49:59 +01:00
jzmaddock
71e9d5c3cd Move Ubuntu-focal tests to drone. 2022-06-02 18:36:45 +01:00
jzmaddock
3517400cd9 Correct drone script. 2022-06-02 18:30:14 +01:00
jzmaddock
8ceee1ece0 Merge branch 'develop' into ci_adjust_2022
Resolved Conflicts:
	.drone.star
	.github/workflows/ci.yml

Moved more CI from Github to drone.
2022-06-02 17:21:57 +01:00
Matt Borland
5fa7797ec6 Bump minimum language standard to C++14 (#788)
* Bump minimum language standard to C++14

* Add warning message in config

* Update readme and keep C++14 in GCC5 drone run
2022-05-31 20:19:22 -07:00
jzmaddock
8b7e154044 Move all GCC-5/6 testing to drone.
Remove C++11 testing for gcc where the compiler default is C++14.
Remove C++11 testing from msvc - it doesn't support it, only C++14.
All C++11 testing is now on gcc-5 and 6 and on drone.
2022-05-31 18:16:57 +01:00
jzmaddock
65aaf02760 Merge pull request #786 from boostorg/no_exceptions_or_rtti_error_handling
Set BOOST_NO_EXCEPTIONS and BOOST_NO_RTTI for GCC and math in standal…
2022-05-31 08:43:26 +01: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
jzmaddock
14d6cfdea2 Tweak CI runs:
Increase tolerance in chatterjee_correlation test.
Remove a few tests from Github CI.
Remove autodiff from the sanitizer tests as they time out.
2022-05-30 18:37:05 +01:00
John Maddock
b50452bf81 Merge branch 'develop' into no_exceptions_or_rtti_error_handling 2022-05-30 18:27:31 +01:00
jzmaddock
25e51f773a Fix condition_numbers.hpp for no-eh usage.
Enclose try...catch keywords in BOOST_NO_EXCEPTIONS check.
2022-05-27 18:46:47 +01:00
jzmaddock
8f808da3a7 Disable test_2F0 MP tests for all gcc-12.
They run the machine out of memory.
2022-05-27 15:25:44 +01:00
jzmaddock
17813330e5 Revert "Strip CI back to minimal failing test cases."
This reverts commit 3fa245da6d.
2022-05-26 16:43:26 +01:00
jzmaddock
378b6a2273 Disable gcc-12 C++20 testing as it runs the machine out of memory compiling test_2F0.cpp. 2022-05-26 13:02:35 +01:00
jzmaddock
355237efeb Add missing #include to chebeshev.hpp. 2022-05-26 12:59:56 +01:00
jzmaddock
3fa245da6d Strip CI back to minimal failing test cases.
In the hopes we might actually see some results on Github.
2022-05-26 12:11:27 +01: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
jzmaddock
536851add4 Change naked throws to BOOST_MATH_THROW_EXCEPTION. 2022-05-24 16:47:48 +01:00
jzmaddock
81269470d5 Split up 1F0 and 2F0 tests.
Reduces compiler memory footprint of those test cases.
2022-05-24 12:21:16 +01:00
jzmaddock
990704e8a9 Correct #include logic in test_hyperexponential_dist.cpp.
[CI SKIP]
2022-05-23 12:14:09 +01:00
jzmaddock
0edd1a2300 Try building with -j2 in ubuntu-22 CI.
Otherwise we see the VM abort with out-of-memory errors.
2022-05-16 18:25:23 +01:00
jzmaddock
6869066581 Disable chebeshev_transform testing in no-eh mode.
Doesn't easily support exception handling free compilation.
2022-05-16 18:24:06 +01:00
jzmaddock
c2ce0628df Merge branch 'no_exceptions_or_rtti_error_handling' of https://github.com/boostorg/math into no_exceptions_or_rtti_error_handling
Fixed Conflicts:
	include/boost/math/special_functions/gamma.hpp
2022-05-15 17:37:08 +01:00
jzmaddock
7c5228a07b Add no-exception handling tests.
Add Ubuntu-22 plus gcc-12 and clang-14 CI tests.
Fix a couple headers which still had noeh-unfriendly code.
2022-05-15 17:35:11 +01:00
Christopher Kormanyos
6240f57892 Enclose a try/catch block within (no)-exceptions 2022-05-14 09:52:44 +02:00
jzmaddock
bf3b0258e8 Correct error handling in owens_t. 2022-05-13 19:25:18 +01:00
jzmaddock
a6db2d19b7 Change bernoulli error handling to always go through the policies. 2022-05-13 19:03:42 +01:00
jzmaddock
926e34c55c Set BOOST_NO_EXCEPTIONS and BOOST_NO_RTTI for GCC and math in standalone mode.
Disable everything not needed in error_handling.hpp when no exceptions are available.
2022-05-12 19:42:24 +01:00
Christopher Kormanyos
4d5cc6972e Merge pull request #784 from boostorg/redeclaration_of_max_factorial
Redeclaration of max_factorial value
2022-05-10 19:45:50 +02:00
Christopher Kormanyos
3687f1e88d Redeclaration of max_factorial value 2022-05-10 08:28:22 +02:00
Matt Borland
eb422bcead Merge pull request #762 from mborland/logpdf
Logpdf support
2022-04-18 18:45:50 -07:00
Matt Borland
51dc64e867 Fix for issue 773 (#782) 2022-04-18 09:23:20 -07:00
Matt Borland
4dcddfb801 Replace uses of log(tgamma(x)) with lgamma(x) 2022-04-18 09:22:31 -07:00
Matt Borland
73708be874 Add logpdf to compile tests 2022-04-16 17:34:25 -07:00
Matt Borland
209ad4755a Fixes from review and Clang-Tidy/SonarLint 2022-04-16 14:26:42 -07:00
jzmaddock
4fe930e5ae Merge pull request #780 from WarrenWeckesser/policy_eg_1
Fix repeated name in example/policy_eg_1.cpp
2022-04-16 11:25:23 +01:00
Warren Weckesser
222b81e019 Fix repeated name in example/policy_eg_1.cpp 2022-04-13 15:42:51 -04:00
jzmaddock
2b9927871f Added further color table example. 2022-03-19 16:45:36 +00:00
jzmaddock
5222ce249c Regenerate docs, add missing files.
[CI SKIP]
2022-03-19 16:45:35 +00:00