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

2554 Commits

Author SHA1 Message Date
Matt Borland
07144e2d16 Replace magic target_precision values [CI SKIP] 2021-02-13 14:34:40 +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
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
jzmaddock
8efde8b9e5 Merge pull request #486 from mborland/issue430_beta
Fix for issue 430 in beta
2021-01-11 17:35:40 +00:00
Matt Borland
f8e35601b0 Add integer support to t_test (#485) 2021-01-10 11:35:51 -05:00
Matt Borland
579d89c163 Add integer support to linear regression (#484)
* Add integer support to linear regression

* Fix for MSVC error C2668: 'fpclassify' [CI SKIP]

* Fix naming [CI SKIP]
2021-01-09 12:15:43 -05:00
Matt Borland
e18bc5c84a Fix for issue 430 in beta 2021-01-09 11:45:01 +03:00
William Ledbetter
dc79545342 Make "v" accessible to derived classes (#483) 2021-01-08 11:30:24 -05:00
Matt Borland
fc7b75aceb Add integer support to bivariate statistics (#480)
* Add integer support to bivariate statistics
Reduce required CXXSTD from 17 to 11

* Fix failed test trying to use C++03 mode [CI SKIP]
2021-01-05 13:57:16 -05:00
jzmaddock
c845b0e82c Merge pull request #470 from mborland/issue464
Fix for issue #464
2020-12-30 19:01:55 +00:00
Matt Borland
c23f3fc5a7 Fix MSVC macro sub and warn others 2020-12-29 20:27:24 +03:00
Matt Borland
ebc6859559 CI Fixes [WINDOWS] 2020-12-29 15:44:02 +03:00
Matt Borland
0c20005e1b Eliminate -Wimplicit-int-float-conversion on clang 2020-12-27 19:47:09 +03:00
jzmaddock
787481c6ff Merge pull request #433 from boostorg/issue396
Try fix min Bn arg for recur.
2020-12-24 18:35:46 +00:00
Matt Borland
9a4fbed2c1 Qualify constexpr-ness of std::real and std::imag 2020-12-24 09:57:04 +03:00
Matt Borland
118863da21 Change PDF to be 0 for x = 0 or x = 1 2020-12-20 16:01:05 +03:00
John Maddock
358eda5039 Merge branch 'develop' into issue396 2020-12-19 19:37:31 +00:00
jzmaddock
75b9abc9ba Revert "[CI SKIP] Suggest use c++11 header when needed"
This reverts commit 5057e069c7.
2020-12-19 19:37:22 +00:00
jzmaddock
db42e6bced Add missing include.
Fixes issues exposed by changes to lexical_cast.
See https://github.com/boostorg/math/pull/433.
2020-12-19 19:31:01 +00:00
Christopher Kormanyos
b4fce630b7 Many CIs OK local try find what up on servers 2020-12-19 10:33:49 +01:00
Christopher Kormanyos
5057e069c7 [CI SKIP] Suggest use c++11 header when needed 2020-12-19 09:45:06 +01:00
Christopher Kormanyos
aedf8601c9 [CI SKIP] Remove useless semicolons and warnings 2020-12-19 09:05:30 +01:00
Christopher Kormanyos
f972e46850 On a guess, forward args and promote Chebyshev? 2020-12-17 08:46:32 +01:00
Christopher Kormanyos
728388856c Guesses for old, running on new compilers, try CI 2020-12-16 18:50:06 +01:00
Christopher Kormanyos
92417f5a7f Work the review findings including no constexpr, use 3 spaces and eliminate use of size_t and will try CI again 2020-12-16 15:04:27 +01:00
Christopher Kormanyos
603a37534e Issue396 gets better tests and fix of Bn recur 2020-12-16 11:02:08 +01:00
Christopher Kormanyos
1e61cea5df Improve fix, no pch, test spec fun locally 2020-12-14 07:21:52 +01:00
Christopher Kormanyos
90ee0013e7 Fix the fix of 396 and expand its test case 2020-12-13 20:33:25 +01:00