2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-24 16:12:15 +00:00
Commit Graph

5534 Commits

Author SHA1 Message Date
Matt Borland
d8ea26ddaa Remove appveyor [CI SKIP] 2021-01-29 21:00:30 +03:00
jzmaddock
a39243dcb4 Merge pull request #502 from mborland/MSVC_CI
Fix MSVC MINMAX CI Failures
2021-01-28 16:26:54 +00:00
Matt Borland
2359b46e7f Remove superfluous macros 2021-01-27 21:37:25 +03: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
fc9cd6761f Undef and add to PCH 2021-01-27 18:27:44 +03:00
Matt Borland
7662093bd8 Fix test carlson 2021-01-26 21:13:02 +03:00
Matt Borland
a45ecea6cd Fix MSVC MINMAX CI Failures 2021-01-26 19:31:37 +03:00
Matt Borland
bfc1821a72 Fix missing headers and using std::sqrt (#501) 2021-01-25 12:51:22 -05:00
jzmaddock
c7cf622d56 Minor doc fix to put pow<> in the index.
Fixes https://github.com/boostorg/math/issues/393.
2021-01-24 14:39:20 +00:00
Matt Borland
20d1b1f64e C++11 Stats (#498)
* Configure tests and jamfile to verify C++11 compat

* Remove language standard guards
2021-01-22 16:11:35 -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
Nick Thompson
332bc10aeb Reduce maximum frequency tested to get past CI. 2021-01-18 10:00:22 -05:00
Matt Borland
6050bd6e17 Fix for MSVC CI Failures (#492)
* Fix for MSVC Macro substitution

* FIx t-test CI failure with MSVC-14.2, C++17, misc

* Fixs for fpclassify error and multiprecision

* Add bigobj flag fixes daubechies wavelet [CI SKIP]

* Fix bad compiler flag for mingw

* Edit jamfile

* Re-add mingw compiler guards
2021-01-18 09:38:49 -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
7a907165d1 Skip test_autodiff_8 with clang 5 (#491)
* Skip test_autodiff_8 with clang 5

* Increase acceptable error to try to green up build.

* Try to green up build by increasing acceptable accuracy.

* Fix for issue 489 (#490)

* Only test using GCC versions > 7

* Add test guards to pchip_test

* Skip test_autodiff_8 with clang 5

* Move location of exclusion

* Fix merge

Co-authored-by: Nick Thompson <nathompson7@protonmail.com>
2021-01-15 11:35:30 -05:00
Matt Borland
8fa1d9270f Fix for issue 489 (#490)
* Only test using GCC versions > 7

* Add test guards to pchip_test
2021-01-14 16:24:14 -05:00
Nick Thompson
b3d2e7d8af Try to green up build by increasing acceptable accuracy. 2021-01-14 16:21:44 -05:00
Nick Thompson
76631a42b6 Increase acceptable error to try to green up build. 2021-01-14 16:19:58 -05:00
jzmaddock
3decc3d5cd Merge pull request #469 from evanmiller/literal-underflow
Replace underflowing literals with zeroes
2021-01-13 14:31:21 +00: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
Nick
3b9f5adccc Increase tolerable ULPs in linear regression. 2021-01-11 13:24:25 -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
jzmaddock
5e4b1d23b0 Merge pull request #476 from mborland/github-actions
GitHub Actions
2021-01-11 14:53:18 +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
Nick
5fc9214ad1 Update error rate in Cohen acceleration 2021-01-08 07:07:57 -06:00
Nick
163788bcbb Update error rate in cubic_hermite_test. (#482) 2021-01-08 07:06:06 -06:00
Matt Borland
d78be60933 Update library authors [CI SKIP] (#481) 2021-01-06 16:30:26 -05:00
jzmaddock
9a05553b08 Merge pull request #477 from eldiener/develop
Add "cxxstd" json field
2021-01-06 16:12:24 +00: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
Edward Diener
e761b3344d Merge branch 'develop' of https://github.com/boostorg/math into cxxstd 2020-12-30 19:53:20 -05:00
Edward Diener
b66bd940ac Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries whose minumum C++ standard compilation level is C++11 on up. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2020-12-30 19:51:48 -05:00
jzmaddock
b0045c1f43 Merge pull request #463 from evanmiller/missing-braces
Add missing braces
2020-12-30 19:02:53 +00:00
jzmaddock
c845b0e82c Merge pull request #470 from mborland/issue464
Fix for issue #464
2020-12-30 19:01:55 +00:00
jzmaddock
e29d6acf7a Merge pull request #473 from mborland/gitignore
Update to gitignore
2020-12-30 18:59:27 +00:00
jzmaddock
286e113f3f Merge pull request #474 from mborland/issue430
Fix for issue #430
2020-12-30 18:56:23 +00:00
Matt Borland
4e8433ac0a Update readme with new badges and PR instructions
[CI SKIP]
2020-12-30 17:30:14 +03:00
Matt Borland
a120962474 Fix parens [CI SKIP] 2020-12-30 16:29:52 +03:00
Matt Borland
50a52fabb7 Add MSVC-14.0 and verified mingw [CI SKIP] 2020-12-30 16:25:02 +03:00
Matt Borland
cff9cfc1a3 Fix test file too... 2020-12-29 20:31:17 +03: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
773f583f72 Fix commit filter [CI SKIP] 2020-12-29 15:10:45 +03:00
Matt Borland
5e6143bdf3 Add platform specific options [CI SKIP] 2020-12-29 14:41:26 +03:00
Matt Borland
d4092e569a Test skip [CI SKIP] 2020-12-28 16:50:37 +03:00