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

1975 Commits

Author SHA1 Message Date
jzmaddock
7e7ca9800b Merge pull request #508 from boostorg/drone
Add drone CI.
2021-02-04 11:15:48 +00:00
jzmaddock
d7fe8068ad Disable clang testing on one more test. 2021-02-03 20:22:12 +00:00
jzmaddock
1f8adac315 Disable the long running tests for clang:
They just take too long to build!
2021-02-03 18:52:42 +00:00
Matt Borland
afbd203695 Fixes for test_std_lib CI failures in float128 2021-02-03 19:15:24 +03:00
jzmaddock
c03991656e Correct preprocessor logic in bivariate_statistics_test.cpp 2021-02-03 08:58:30 +00:00
jzmaddock
ca29ea563e catch bad_alloc exceptions in wavelet tests.
See https://github.com/boostorg/math/issues/515.
2021-02-02 19:35:15 +00:00
jzmaddock
fa3a0e72ef Split exp_sinh_quadrature_test.cpp into smaller chunks. 2021-02-02 19:15:07 +00:00
jzmaddock
b1c9718c1c Correct test_1F1_regularized.cpp for multiprecision case. 2021-02-02 16:18:45 +00:00
jzmaddock
46dacdbb3c Split the multiprecision concept checks into smaller chunks for lower compiler memory usage. 2021-02-02 15:34:13 +00:00
jzmaddock
8fe6b95e93 Completely rework drone script.
Split up some of the test suite into smaller blocks, add some needed references to libquadmath.
2021-02-01 18:58:55 +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
Matt Borland
2359b46e7f Remove superfluous macros 2021-01-27 21:37:25 +03: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
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
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
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
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
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
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
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
Matt Borland
a120962474 Fix parens [CI SKIP] 2020-12-30 16:29:52 +03:00
Matt Borland
cff9cfc1a3 Fix test file too... 2020-12-29 20:31:17 +03:00
Matt Borland
a13451838a Add test case of long long max + 1 2020-12-27 20:10:16 +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
Evan Miller
30fadae978 Replace underflowing literals with zeroes
GCC emits a large number of warnings when -Woverflow is enabled.
Replace floating point literals that are less than 1e-10000 with zero
in the hypergeometric 1f1 regularized table.
2020-12-22 13:43:08 -05:00
Evan Miller
0a17c5cb8a Add missing braces
Clang emits thousands of warnings when running test_gamma_mp due
to missing braces. Add them.
2020-12-22 12:16:53 -05:00
Matt Borland
a058883c71 Duplicated test case causing CI failure. 2020-12-20 22:13:07 +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
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
8c7adc6856 [CI SKPI] Remove draft Jam unintended for tracking 2020-12-19 09:03:01 +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
dd9015124d Reduce again complexity for old msvc 1001 2020-12-16 12:25:49 +01:00