2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-02 21:02:20 +00:00
Commit Graph

1999 Commits

Author SHA1 Message Date
Nick
7c7b1cab02 Newton-Raphson instrumented message improvements (#552)
The Newton-Raphson method has an option to log convergence via `BOOST_MATH_INSTRUMENT`. However, too much information was give about some things which were not super helpful, and too little about residuals.

In addition, remove buffer flushes as they slow down the process dramatically.
2021-02-24 21:07:09 -05:00
Christopher Kormanyos
172467881e drone exec permits and clean remove e_float 2021-02-22 20:37:11 +01:00
jzmaddock
60676e99e8 Slight increase in policy testing. 2021-02-22 18:49:19 +00:00
jzmaddock
162e7d4fd8 Merge pull request #545 from boostorg/hypergeometric_long_long_exponents
Change used exponent/scaling type from int to long long in the hyperg…
2021-02-22 17:57:08 +00:00
jzmaddock
130dac3395 Merge pull request #540 from mborland/mpl_policies
Remove MPL from policies
2021-02-21 18:44:31 +00:00
jzmaddock
2c843f7f4a Merge pull request #539 from boostorg/issue_530
Fix parameter for test 8 of test_toms748_solve.cpp.
2021-02-21 16:08:24 +00:00
jzmaddock
e143811929 Change used exponent/scaling type from int to long long in the hypergeometric functions.
Allows use with type which have a greatly extended exponent range.
Also changes all itrunc's to lltrunc.
2021-02-21 16:07:08 +00:00
Matt Borland
db15872f45 Collected CI Fixes 2021-02-19 12:47:12 +03:00
Matt Borland
f484c66519 All test batteries pass [ci skip] 2021-02-18 20:28:23 +03:00
Matt Borland
6b945eae39 new_domain_error_type works for domain_error test
[ci skip]
2021-02-18 18:54:32 +03:00
Matt Borland
74ea8bdfda Add mp_at and mp_find_if [ci skip] 2021-02-16 14:54:39 +03:00
Matt Borland
5ae92ba0c3 Replace several boost types [ci skip] 2021-02-15 16:00:08 +03:00
jzmaddock
daccf0cefe Fix parameter for test 8 of test_toms748_solve.cpp.
Fixes https://github.com/boostorg/math/issues/530.
2021-02-14 11:33:21 +00:00
jzmaddock
93467954a9 Fix up Jamfiles for C++11 s a requirement.
Fixes: https://github.com/boostorg/math/issues/531.
2021-02-13 19:40:50 +00:00
jzmaddock
3ea5e48246 Merge pull request #517 from mborland/CI_Constants
Fix for unable to find numeric literal operator Q
2021-02-13 19:15:34 +00:00
John Maddock
3923b27e76 Merge https://github.com/jzmaddock/math into t 2021-02-08 19:14:54 +00:00
jzmaddock
dd13562176 Fix up more tests for PPC64. 2021-02-08 16:47:21 +00:00
jzmaddock
92cf7ec7b8 Tidy up more failing tests. 2021-02-08 11:18:02 +00:00
Matt Borland
d70da65012 Revert to 8e9647b [CI SKIP] 2021-02-07 22:40:33 +03:00
jzmaddock
f371e87b6e Fix up test programs to work with BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS.
Add more tests to CI.
2021-02-07 19:35:01 +00: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
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
46a11ea6bb Use BOOST_MATH_LARGEST_FLOAT_C 2021-02-03 21:47:29 +03:00
Matt Borland
86d2843fa4 Fix for unable to find numeric literal operator Q 2021-02-03 20:14:25 +03: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