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

5953 Commits

Author SHA1 Message Date
Matt Borland
eba915ae1e Add GCC11 to CI (#654)
* Add GCC11 to CI

* Change std::views to std::ranges::views

* Remove g++5 and clang-5. Remove testing of ranges in GCC11
2021-07-11 19:43:34 +01:00
Matt Borland
37e48d03e3 Fix warning in naive monte carlo include test 2021-07-11 19:43:34 +01:00
jzmaddock
8fa1be8e5e Doc update:
correct hypergeometric equation (again).
Add section on standalone usage.
2021-07-11 19:43:33 +01:00
jzmaddock
63b5fe85ac Fix up static_asserts in test case. 2021-07-11 19:43:32 +01:00
jzmaddock
a7bfb5a914 Prep for 1.77:
Rework hypergeometric distro equations.
Fix up Fibonacci docs.
Fix Fibonacci constexpr and noexcept usage and add to testing.
Regenerate docs.
2021-07-11 19:43:31 +01:00
jzmaddock
4cdc6450d5 Merge branch 'develop'
Fixed Conflicts:
	include/boost/math/special_functions/log1p.hpp
boost-1.77.0.beta1
2021-06-27 09:49:39 +01:00
Matt Borland
f7e7a7b6ee Add CMake Testing for Bilinear Uniform Interpolator (#646)
* Add CMake Testing for Bilinear Uniform Interpolator

* cycle CI
2021-06-27 00:39:09 -04:00
jzmaddock
ffcd220d6d Merge pull request #648 from mborland/is_standalone_warn
Fix BOOST_MATH_STANDALONE redefinition
2021-06-26 12:33:23 +01:00
Paul A. Bristow
d35f821eef Merge pull request #642 from boostorg/hypergeomkurtosis
Hypergeomkurtosis
2021-06-26 12:24:22 +01:00
Nick
8c670da649 Update README.md 2021-06-25 19:37:00 -04:00
Matt Borland
fa33d8dcd5 Fix BOOST_MATH_STANDALONE redefinition 2021-06-25 21:18:39 +03:00
Nick
769f4f690d Interpolate a uniform grid with a bilinear function. (#643)
* Interpolate a uniform grid with a bilinear function.

* Typo removal.

* Invalid syntax in Jamfile.

* Do domain verification before computation.

* Fix OOB access on print.

* pimpl the class so it can be shared between threads.

* Add google/benchmark file to measure the performance of the bilinear interpolation.

* Fix up docs.

* Remove non-ASCII characters from print statements. Add a float128 test.

* Improve the documentation of the bilinear uniform class.

* Remove float128 as it doesn't support to_string.

* Don't use decltype(fieldData.size()) as the indexer; that makes MSVC 14.2 choke. Use RandomAccessContainer::size_type.

* Use ADL for to_string for compatibility with multiprecision.

* Improve error message which rows*cols != fieldData.size().
2021-06-22 10:38:00 -04:00
Joachim Wuttke
a241e1da73 solve.hpp: fabs -> std::abs in templated function (#644)
* solve.hpp: fabs -> std::abs in templated function

correction needed to make boost::math::tools::solve<T> work with T=long double

* using std::abs as suggested by Nick
2021-06-19 18:57:50 -04:00
pabristow
4382d2a7c6 More changes to hypergeometric distribution documentation. 2021-06-16 11:42:37 +01:00
pabristow
fdbb3ed7ce Corrected formula for kurtosis to match Mathematica. New Test passes. 2021-06-14 17:46:18 +01:00
Peter Dimov
d6e19aa2de Add CMakeLists.txt (from current develop) 2021-06-09 19:49:17 +03:00
Peter Dimov
45a2cbe789 Merge branch 'develop' of https://github.com/boostorg/math into develop 2021-05-27 20:38:00 +03:00
Peter Dimov
a1d76a4fc3 Only enable tests when root project 2021-05-27 20:37:47 +03:00
Nick
fca4f08d5b Closed Catmull-Rom curves have the same start and endpoint. (#636) 2021-05-27 13:32:56 -04:00
Peter Dimov
20de153ca3 Link tests to Boost::math 2021-05-27 20:30:42 +03:00
Peter Dimov
c83a5644a0 Add a CMake option for standalone mode 2021-05-27 20:16:54 +03:00
jzmaddock
90278fcf9e Merge pull request #634 from boostorg/bernoulli_threading_2
Update for Bernoulli and Lanczos code.
2021-05-25 08:26:08 +01:00
jzmaddock
84b8e4ac81 Fix inspection report issues. 2021-05-24 13:20:45 +01:00
jzmaddock
c0afe2763a Adjust tgamma error rates to new approximations.
Mostly downward, but one slightly up.
2021-05-24 10:11:53 +01:00
jzmaddock
a1b1368d66 Merge branch 'develop' into bernoulli_threading_2
Fixed Conflicts:
	include/boost/math/special_functions/lanczos.hpp
2021-05-23 20:05:51 +01:00
jzmaddock
3685f6d2d2 Update lanczos_generator.cpp:
To test over a wider range of values, otherwise precision tails off for middling values of z - 100 < z < 300.  Also prints out conditioning on the near-1 or 2 approximations.
Update lanczos.hpp with the new approximations, removed 80-100 digit approximation because it basically doesn't work well.
Modified lanczos.hpp and lgamma_small.hpp to have separate lanczos g values for the near 1 or 2 approximations.
This addresses issues discussed in https://github.com/boostorg/multiprecision/pull/327.
2021-05-23 19:49:34 +01:00
jzmaddock
a9e5b10120 Correct enable_if's in bernoulli_details.hpp cache selection. 2021-05-21 19:02:16 +01:00
jzmaddock
755b81992e Merge pull request #624 from mborland/cmake_fixes
Fixes for compile tests
2021-05-21 08:47:42 +01:00
jzmaddock
574ba4091c Merge pull request #611 from mborland/drone_readme
Fix link to drone build in README
2021-05-21 08:44:12 +01:00
jzmaddock
14ead5ba7c Merge pull request #632 from boostorg/lanczos_update
Remove lanczos22.
2021-05-21 08:43:49 +01:00
Matt Borland
7ade71ce22 Merge remote-tracking branch 'origin/develop' into cmake_fixes 2021-05-20 19:14:38 +03:00
jzmaddock
07b9e6e0b7 Remove lanczos22.
It was only used for 34 and 35 digit counts and had terrible accuracy at fixed precision.
See https://github.com/boostorg/multiprecision/pull/326#issuecomment-844997628.
Fortunately the "MP" suffixed traits appear fine, though further testing inside Multiprecision will follow.
2021-05-20 12:50:29 +01:00
jzmaddock
570d27cbe0 Merge pull request #629 from mborland/threaded_stats
Thread guards in stats
2021-05-20 11:13:51 +01:00
Matt Borland
2e68238ad4 Merge remote-tracking branch 'origin/develop' into threaded_stats 2021-05-19 20:23:33 +03:00
jzmaddock
311bf13760 Merge pull request #631 from boostorg/threading_sanity_check
Add threading sanity check to probe clang-9 failures.
2021-05-19 16:01:29 +01:00
jzmaddock
2de293b13f Remove unneeded library dependencies from Jamfiles. 2021-05-18 20:51:03 +01:00
jzmaddock
fe5f1a4fcd Correct pp-logic. 2021-05-18 19:56:42 +01:00
jzmaddock
6ddc9b332d Only make Bernoulli cache thread_local if the number type looks like it might be variable precision. 2021-05-18 19:54:52 +01:00
jzmaddock
83602cdc6c Add missing #include.
[windows]
2021-05-18 16:57:41 +01:00
jzmaddock
eb974548e0 Disable threading check when we know that thread_local is broken.
[windows]
2021-05-18 16:42:11 +01:00
John Maddock
742154cc36 Merge branch 'update_GHA' of https://github.com/mborland/math into threading_sanity_check 2021-05-18 11:40:45 +01:00
jzmaddock
8283949fae Remove clang-9 from GHA testing - it's currently broken and drone is testing OK. 2021-05-18 11:39:19 +01:00
jzmaddock
09b01edc47 Add threading sanity check to probe clang-9 failures.
See: https://github.com/boostorg/math/pull/629.
2021-05-17 11:32:23 +01:00
Matt Borland
e97d3c0eb2 Fix clang 5 and 6 package names 2021-05-16 16:33:47 +03:00
Matt Borland
7fe34c2422 Remove deprecated OS from GHA 2021-05-15 19:36:50 +03:00
Matt Borland
c7bc03be0e bivariate stats thread guards 2021-05-12 21:16:57 +03:00
Matt Borland
5f1cb284ef Univariate stats thread guard 2021-05-12 21:08:42 +03:00
Matt Borland
2a5bbf37a4 Revert rsqrt [ci skip] 2021-05-11 22:42:48 +03:00
Matt Borland
aca3f61c31 Quadrature threads (#628)
* Thread guard for exp_sinh

* Thread guard for ooura_fourier_integrals

* Thread guard for sinh sinh

* Thread guard for tanh sinh quadrature
2021-05-11 08:10:05 -04:00
jzmaddock
10d0bc5d5f Merge pull request #626 from mborland/polygamma_threads
Add thread guard to polygamma
2021-05-10 17:56:34 +01:00