2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-30 08:02:11 +00:00
Commit Graph

2579 Commits

Author SHA1 Message Date
Matt Borland
d9fbe998b7 Replace BOOST_CONSTEXPR and NOEXCEPT 2021-02-15 15:41:42 +03:00
Matt Borland
ba5b9221b0 Replace BOOST_STATIC_CONSTANT 2021-02-15 15:41:42 +03:00
Matt Borland
34722bd6e6 Start TMP header [CI SKIP] 2021-02-15 15:41:42 +03:00
Matt Borland
32b7444b78 Replace all instances of mpl::if_ 2021-02-15 15:41:42 +03:00
Matt Borland
578751c370 Replace all instances of mpl::if_c 2021-02-15 15:41:42 +03:00
Matt Borland
cc123e29f5 Replace boost/static_assert 2021-02-15 15:41:42 +03:00
Matt Borland
59960ff1cb replace boost/assert 2021-02-15 15:41:42 +03:00
Matt Borland
046dc000b5 Replace boost/type_traits 2021-02-15 15:41:42 +03:00
jzmaddock
9ecd9d2184 Merge pull request #538 from mborland/mpl_math_fwd
Remove MPL, Utility, and Config from math fwd
2021-02-15 12:35:45 +00:00
Matt Borland
defe5fb07a Replace boost::enable_if with std in legendre
Fixes test_policy_sf error
2021-02-14 14:40:07 +03:00
Matt Borland
ecc70fe65f Remove MPL, Utility, and Config from math fwd 2021-02-14 13:12:15 +03:00
Matt Borland
bb2a7e82cf Remove MPL from traits 2021-02-14 10:56:55 +03:00
jzmaddock
53e13d6dcd Merge pull request #534 from mborland/promotion_mpl
Remove MPL and type_traits from promotion
2021-02-13 19:22:44 +00:00
jzmaddock
d19db42b56 Merge pull request #533 from mborland/mpl_headers
Bulk removal of unused MPL headers
2021-02-13 19:20:08 +00:00
jzmaddock
f347c975b7 Merge pull request #532 from mborland/lanczos_mpl
Remove MPL from Lanczos
2021-02-13 19:19:25 +00:00
jzmaddock
41f9212213 Merge pull request #529 from mborland/cbrt_mpl
Remove MPL from cbrt
2021-02-13 19:18:48 +00:00
jzmaddock
b2ef9ea82e Merge pull request #528 from mborland/pow_mpl
Remove MPL from pow
2021-02-13 19:17:55 +00:00
jzmaddock
013980e4f2 Merge pull request #527 from mborland/calc_constants
Replace integral_constant in calculate_constants
2021-02-13 19:17:21 +00:00
Matt Borland
07144e2d16 Replace magic target_precision values [CI SKIP] 2021-02-13 14:34:40 +03:00
Matt Borland
ba914f3753 Remove MPL and type_traits from promotion 2021-02-13 14:29:32 +03:00
Matt Borland
e01b1d20b8 Bulk removal of unused MPL headers 2021-02-13 12:23:15 +03:00
Matt Borland
3779329ae8 Fix for non-convergence 2021-02-13 10:31:24 +03:00
Matt Borland
bf23999c3c Minor fixes 2021-02-12 21:33:14 +03:00
Matt Borland
0f991aa3b2 replace mpl with conditional 2021-02-12 20:41:57 +03:00
Matt Borland
8b81fba92d Replace boost types with std types 2021-02-11 20:27:50 +03:00
Matt Borland
c89bda8d58 Remove MPL from cbrt 2021-02-10 21:14:26 +03:00
Matt Borland
d071804eb3 Remove MPL from pow 2021-02-10 19:56:39 +03:00
Matt Borland
b5031bc9c4 revert conversion to string [CI SKIP] 2021-02-10 19:35:04 +03:00
Matt Borland
e2066c363a Replace integral_constant in calculate_constants 2021-02-09 22:13:59 +03:00
Matt Borland
75706cb4c2 Remove MPL from lambert_w 2021-02-09 20:59:43 +03:00
jzmaddock
e7d1d5bc23 Merge collected PPC64LE fixes. 2021-02-08 19:23:20 +00:00
John Maddock
3923b27e76 Merge https://github.com/jzmaddock/math into t 2021-02-08 19:14:54 +00:00
Matt Borland
d70da65012 Revert to 8e9647b [CI SKIP] 2021-02-07 22:40:33 +03:00
Matt Borland
3a3a1335f3 Put boost::integral_constant back. std breaks mpfr 2021-02-07 21:42:50 +03:00
Matt Borland
8e9647b4b1 Remove MPL from constants 2021-02-07 17:54:19 +03:00
jzmaddock
d1b2c7ea3c Correct BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS selection logic. 2021-02-07 10:47:21 +00:00
jzmaddock
cb146bff94 Disable long double support if it's a "double double".
Tentatively try and run some tests.
2021-02-07 08:20:19 +00:00
Matt Borland
7e958d68b3 Minor correction 2021-02-06 22:14:47 +03:00
Matt Borland
7f665158ca Replace mpl::if_c with conditional. Modernize. 2021-02-06 22:02:42 +03:00
jzmaddock
561e892d7d More corrections, add first test case. 2021-02-06 18:42:58 +00:00
jzmaddock
a2b29c1132 Use BOOST_NO_CXX17_HDR_EXECUTION for <execution> detection. 2021-02-02 19:19:36 +00:00
Matt Borland
91ae2bfc77 Bivariate Stats Policies (#503)
* Add parallel impl and change seq impl [CI SKIP]

* Validate seq impl [CI SKIP]

* Remove old impl

* Add user interfaces [CI SKIP]

* Floating point covariance validated [CI SKIP]

* Integer covariance validated [CI SKIP]

* Change correlation_coeff impl interface [CI SKIP]

* Cleanup [CI SKIP]

* correlation passes all parameters for par impl
[CI SKIP]

* Finish framework [CI SKIP]

* Add correlation coefficient test cases

* Add benchmark and make small changes
[CI SKIP]

* Update docs
2021-01-30 11:09:12 -05:00
jzmaddock
bc92b924f8 Mostly cosmetic change on BOOST_MATH_NO_THREAD_LOCAL_WITH_NON_TRIVIAL_TYPES.
[CI SKIP]
2021-01-27 16:20:49 +00:00
Matt Borland
bfc1821a72 Fix missing headers and using std::sqrt (#501) 2021-01-25 12:51:22 -05:00
jzmaddock
480b5c0c09 Merge pull request #497 from boostorg/mingw_thread_local
static_assert when mingw is used in a way not supported.
2021-01-22 18:25:32 +00:00
Matt Borland
1eb3c71f8a Implement Policies in Statistics (#434)
* Initial Commit [WIP][CI SKIP]
Policies for mean implemented and forced vectorization

* First cut at integer variance [CI SKIP]

* Functional variance impl [WIP][CI SKIP]

* Work on variance [CI SKIP]
Details are now moved into detail files.
Recursively decomposes sufficient range size until max threads achieved.
Single failing test for integral, not implemented for Reals.

* Parallel integer variance complete [CI SKIP]

* All variance policies complete [CI SKIP]

* Update mean_and_sample_variance [CI SKIP]

* Median complete for all types [CI SKIP]

* Median absolute deviation complete for all types
[CI SKIP]

* Refactored sequential first four moments impls
[CI SKIP]

* Setup test cases for first four moments [WIP]
[CI SKIP]

* Sequential impl pass [CI SKIP]

* Parallel interface impl. Fails some tests
[CI SKIP]

* Interquartile range passes for all existing test
[CI SKIP]

* Gini coefficient generally implemented
Does not support long double or cpp_bin_float_50s
[CI SKIP]

* Sample gini coef implemented w/same constraints
[CI SKIP]

* Add benchmarks [CI SKIP]

* First four moments complete for most types
[CI SKIP]

* Skewness restructured. Currently INOP for non-seq
[CI SKIP]

* Fix floating point skewness [CI SKIP]

* Skewness complete [CI SKIP]

* Kurtosis complete [CI SKIP]

* Gini coefficient complete [CI SKIP]

Removes atomics which expands number of compatible types.

* Mode complete [CI SKIP]

Additionally mode now supports floating types by using an unordered_map to store frequency

* Garbage cleanup [CI SKIP]

* Doc updates [CI SKIP]

* Mean cleanup [CI SKIP]

* Cleanup variance [CI SKIP]

Remove duplicate impls that vary only be return type

* Variance Cleanup [CI SKIP]

Remove duplicate impls

* Skewness cleanup [CI SKIP]

* Update performance [CI SKIP]

* Add swap file to gitignore [CI SKIP]

* Add missing comma [CI SKIP]

* Improve par mode performance regression [CI SKIP]
[WIP] Parallel mode still ~2 orders of magnitude slower

* mode performance improvement [CI SKIP]

* Improved data handling - mode [CI SKIP]

* Additional overloads to match STL proposal
[CI SKIP]

* Updates to mode and documentation

* Remove dependency and fix todo [CI SKIP]

* Minor fixes [CI SKIP]

* Fix multiprecision issues [CI SKIP]

* Remove dependency. Minor change to thread counting
[CI SKIP]

* Standardize seq mean impl [CI SKIP]

* Fix doc brackets [CI SKIP]

* Remove duplicated sort on gini coef [CI SKIP]

* C++11 all that is required for sequential methods
[CI SKIP]

* Fixes for CI failure

* More CI fixes

* Fixes for MSVC issues
Fix gitignore merge conflict
Adjust test tol to match others

* Fix MSVC lang macro

* More small fixes for vinatge compilers

* Minor fix for MSVC 14.2 c++17 [CI SKIP]

* Cleanup docs, test file, and remove cruft
[CI SKIP]

* Delete par_unseq tests [CI SKIP]

* Change link to accumulators [CI SKIP]

* Add bigobj flag to failing build

* Remove redundant impl [WIP][CI SKIP]

* Initial cut at linear decomposition [WIP][CI SKIP]

* Passes tests [CI SKIP]

* Various CI fixes

* More CI fixes

* Delete extra impl and add linker flags

* Try CI without TBB

* Restrict compiler support

* Restrict c++ version
2021-01-22 09:42:16 -05:00
jzmaddock
f8a2e944da static_assert when mingw is used in a way not supported.
IT has issue with thread_local and non-trivial types.
2021-01-22 12:18:37 +00:00
Nick
d96b478791 Fix for division by 2, then multiplication by 2. (#495) 2021-01-21 09:45:33 -05:00
Matt Borland
bf3038bfcb Add Z-test (#494)
* Initial Commit

* Add tests

* Add docs

* Fix svg file dimensions [CI SKIP]

* Minor fixes [CI SKIP]

* Fixes to docs and tests [CI SKIP]

* More test fixes and cycle CI

* Cycle CI

* Update docs

* Fix for MSVC-14.2 C++17 misc failure [CI SKIP]
2021-01-17 09:53:49 -05:00
Matt Borland
f7e3fc17a6 Additional t-tests (#487)
* Add integer support to t_test

* Add paired samples t test

* Add two sample t test

* Add welch's t test

* Update docs

* Cleanup

* Add CHECK_ULP_CLOSE tests to test battery. Fix svg

* Remove all instances of ex [CI SKIP]

* Remove std::distance and note in docs [CI SKIP]

* Re-write test battery
2021-01-12 15:48:53 -05:00