2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

1755 Commits

Author SHA1 Message Date
Matt Borland
0a69c93a31 Initial commit 2021-09-06 21:39:35 +03:00
Matt Borland
0bbea8d8f9 constexpr frexp (#686) 2021-09-06 11:27:27 -07:00
Matt Borland
d8fe127b82 constexpr fpclassify (#679)
* Implement fpclassify and tests
2021-08-25 13:43:43 -07:00
Matt Borland
a4d5ae7177 Constexpr isfinite and isnormal (#674) 2021-08-23 21:47:41 -07:00
Matt Borland
564967785f Constexpr abs/fabs (#672)
* Initial commit

* Move error handling to impl

* Validate tests for float

* Test other types

* Add tests for types that are convertible to int

* Add include test

* Update docs

* Add fabs overloads

* Add fabs to docs

* Add missing header to tests

* Fix for old versions of clang and cleanup naming conventions

* Update jamfile

* Add glibcxx constexpr cmath tests and fix docs

* Use equality in testing instead of tolerance
2021-08-16 22:08:12 -07:00
Matt Borland
084bc7184b Merge remote-tracking branch 'origin/develop' into constexpr_sqrt 2021-07-24 14:29:58 +03:00
Matt Borland
98b0cf1f11 Doc fixes and convert to C++17 format [ci skip] 2021-07-23 22:03:31 +03:00
Nick
6b949ee298 Fix for #664 (#665)
* Fix for #664

* Convert bivariate_statistics test to math_unit_test; update unit tests for constant vector + non-constant.

Committer: Nicholas Thompson <nathompson7@protonmail.com>

* Return NaN if either dataset is constant.

* Fix in one other spot.

* Use math::test::report_errors() everywhere.

* Correct unit tests for the parallel case.

Co-authored-by: Nicholas Thompson <nathompson7@Nicholass-MacBook-Pro.local>
2021-07-22 10:43:56 -07:00
Matt Borland
30b4d23f20 Add documentation 2021-07-20 21:06:32 +03:00
jzmaddock
8fa1be8e5e Doc update:
correct hypergeometric equation (again).
Add section on standalone usage.
2021-07-11 19:43:33 +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
Nick
051a1bfae9 github appears to have lost this commit. (#655)
* github appears to have lost this commit.

* Change #error to #warning so that CI is happy.
2021-07-04 13:34:06 -04:00
Nick
af14cdaf47 Bezier polynomials. (#650)
* Bezier polynomials.

* Bezier polynomials.

* Performance test.

* Implement de Casteljau's algorithm.

* Documentation and cleanup.

* Use thread_local storage to increase performance of interpolation.

* Inspect tool doesn't like asserts or anonymous namespaces.

* Test convex hull property of Bezier polynomial and add float128 tests.

* Allow editing of control points.

* Add .prime member function. Fix bug when scratch space size is larger than control point size. Document alternative implementations found in Bezier and B-spline techniques.

* Submit failing unit test so I don't forget to fix it later

* Add indefinite integral and tests.

* Do not test on gcc < 9 on MingW.
2021-07-01 19:31:51 -04:00
jzmaddock
4cfcee9717 Doc update:
correct hypergeometric equation (again).
Add section on standalone usage.
2021-06-28 19:51:30 +01:00
jzmaddock
d4de174bbb 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-06-27 19:38:05 +01:00
jzmaddock
4cdc6450d5 Merge branch 'develop'
Fixed Conflicts:
	include/boost/math/special_functions/log1p.hpp
2021-06-27 09:49:39 +01:00
Paul A. Bristow
d35f821eef Merge pull request #642 from boostorg/hypergeomkurtosis
Hypergeomkurtosis
2021-06-26 12:24:22 +01: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
pabristow
4382d2a7c6 More changes to hypergeometric distribution documentation. 2021-06-16 11:42:37 +01:00
Matt Borland
12b3c8a7e7 Standalone tests (#606)
* Add missing distribution compile tests

* Add cstdfloat compile tests

* Rename and finish differentiation

* Add interpolators compile tests and fixes

* Reorganize/add quadrature compile tests

* Add missing sf tests and fixes for failures

* Add tools incl tests and fixes

* Add compile tests to jamfile plus collected fixes

* Collected fixes for CI failures

* Fix fftw config

* Remove lexical cast from arcsine dist [ci skip]

* Improve cstdfloat tests [ci skip]

* Improve differentiation tests [ci skip]

* Improve distribution testing [ci skip]

* Updates to interpolator tests [ci skip]

* Improve quadrature tests [ci skip]

* Improve sf tests [ci skip]

* Improve tools tests

* Collected CI fixes

* Fix for MSVC 14.2 array allocation error
[windows]

* MSVC 14.2 workarounds
[windows]

* Fix float128 and interpolators tests

* Add standalone testing on clang
[standalone]

* Fixes for type mismatches on MSVC
[windows]

* Fix for MSVC 14.0 fail from missing header
[windows]

* Change barycentric rational namespace
[ci skip]

* Fix standalone clang warnings

* Change namespace in barycentric examples
2021-04-22 14:44:21 -04:00
jzmaddock
f69c712d79 Fix broken link to lambert_w graph.
Remove CircleCI asan tests.
2021-03-30 18:50:40 +01:00
jzmaddock
544258569b Fixes for inspect failures in doc/ and example/ 2021-03-30 11:04:16 +01:00
Matt Borland
c2a1916716 Minor fixes from review [ci skip] 2021-03-27 10:01:57 +03:00
Matt Borland
9c243dbb49 Replace <boost/config> w <boost/math/tools/config> 2021-03-23 21:38:13 +03:00
Matt Borland
2c59738acf Remove workarounds 2021-03-22 21:08:44 +03:00
Matt Borland
26711525ca Remove uses of boost/cstdint without header called 2021-03-21 16:13:10 +03:00
Matt Borland
f0d6e5e473 Remove boost.throw_exception dependency 2021-03-21 13:48:28 +03:00
Matt Borland
3f3344e838 Merge remote-tracking branch 'origin/develop' into array [ci skip] 2021-03-19 17:06:45 +03:00
Matt Borland
d6a04ab194 Remove all BOOST_MATH_STATIC_ASSERT_MSG 2021-03-16 22:42:09 +03:00
Matt Borland
c1f7a55aa6 Merge remote-tracking branch 'origin/develop' into assert [ci skip] 2021-03-16 20:30:05 +03:00
Matt Borland
0339733a79 Replace BOOST_STATIC_ASSERT with static_assert
and add useful error messages
2021-03-14 22:06:15 +03:00
Matt Borland
fbadd8d653 remove boost.static_assert 2021-03-14 12:49:38 +03:00
Matt Borland
d59c734c5e Remove boost.assert 2021-03-14 12:22:26 +03:00
Felix von Drigalski
1f6a72d4b2 Add doc entry 2021-03-14 13:04:18 +09:00
jzmaddock
03b30efdd3 Merge pull request #563 from mborland/atomic
Remove boost.atomic dependency
2021-03-10 19:15:17 +00:00
Matt Borland
86c75bf8f2 Remove boost.array dependency 2021-03-10 20:01:10 +03:00
Matt Borland
139c59e4a5 Minor doc updates [ci skip] 2021-03-10 18:42:14 +03:00
jzmaddock
96b48d30a4 Clean doc rebuild. 2021-02-28 11:43:37 +00:00
jzmaddock
0edc9ab19b Add release notes, regenerate docs. 2021-02-26 18:38:42 +00:00
Christopher Kormanyos
1d62c4a37e Merge pull request #541 from boostorg/e_float_2021
Re-vitalize e_float (2021) bindings for c++11
2021-02-24 20:16:13 +01:00
Nick
479a3ca341 Typo. 2021-02-24 10:38:29 -05:00
Christopher Kormanyos
be6c24dadf [ci skip] Reduce depth and scope of e_float docs 2021-02-23 22:36:48 +01:00
Christopher Kormanyos
2fa3805db3 [ci skip] Clarify e_float bindings in docs 2021-02-23 07:06:22 +01:00
Christopher Kormanyos
172467881e drone exec permits and clean remove e_float 2021-02-22 20:37:11 +01: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
Nick
c51892a574 Correct namespaces. 2021-02-21 11:51:28 -05: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
5ae92ba0c3 Replace several boost types [ci skip] 2021-02-15 16:00:08 +03: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