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

4113 Commits

Author SHA1 Message Date
jzmaddock
613971a370 CUDA: Make function scope statics constexpr under CUDA. 2018-07-12 10:46:53 +01:00
jzmaddock
df5b948d14 CUDA: stop using std::pair and use thrust::pair instead on cuda.
Fix tabular data in unchecked_factorial.hpp to make it constexpr when possible.
2018-07-10 18:38:40 +01:00
jzmaddock
c6c13faf44 CUDA: Get everything working with lambda expressions, and tidy up example and docs. 2018-07-09 18:36:37 +01:00
jzmaddock
f8f18c1b97 Make pow constexpr. 2018-07-09 18:35:50 +01:00
John Maddock
0800404b4d CUDA: First cut at docs for CUDA-integration.
[CI SKIP]
2018-07-08 18:57:43 +01:00
jzmaddock
604ab802fc CUDA/Monte Carl: Nearly complete implementation.
Correctly calculates variance and error now, better performance by not using thrust.
2018-07-06 19:15:13 +01:00
jzmaddock
a70007d45e Add output from cuda_naive_monte_carlo. 2018-07-01 19:12:10 +01:00
jzmaddock
f473020a03 Refactor cuda_naive_monte_carlo into header.
Improve it's tests.
2018-07-01 19:11:21 +01:00
jzmaddock
64f7262233 CUDA: Add tentative CUDA-ized monte carlo integration.
[CI SKIP]
2018-06-17 17:51:42 +01:00
jzmaddock
800d59a646 CUDA: Fix many more warnings in headers.
Fix up tests to synchronise after CUDA call.
Add minimal docs.
2018-05-31 19:27:44 +01:00
jzmaddock
41ef8a3227 Merge branch 'develop' into cuda
# Fixed Conflicts:
#	include/boost/math/distributions/detail/common_error_handling.hpp
#	include/boost/math/special_functions/detail/bessel_i0.hpp
#	include/boost/math/special_functions/detail/bessel_i1.hpp
#	include/boost/math/special_functions/detail/unchecked_factorial.hpp
#	include/boost/math/special_functions/next.hpp
2018-05-28 08:00:59 +01:00
jzmaddock
bf57b10feb Documentation update [CI SKIP] 2018-05-27 17:38:50 +01:00
jzmaddock
c43027e86f tanh_sinh_quadrature_test.cpp: Up expected error rate on one failing test. 2018-05-25 11:13:36 +01:00
jzmaddock
3474b8c246 Merge branch 'develop' of https://github.com/boostorg/math into develop 2018-05-25 08:12:57 +01:00
jzmaddock
8d1ba7dbd4 Switch CI to XCode 9.3. 2018-05-25 08:12:42 +01:00
jzmaddock
ea6c824a3e Merge pull request #125 from boostorg/complex_exp_sinh
Complex valued integrand support for exp-sinh quadrature
2018-05-25 08:10:23 +01:00
jzmaddock
f83f71335e Revert "Temporary commit to test multiprecision fix: REVERT ME!!"
This reverts commit 4ffd878b40.
2018-05-24 12:51:39 +01:00
jzmaddock
4ffd878b40 Temporary commit to test multiprecision fix: REVERT ME!!
[CI SKIP]
2018-05-24 10:09:20 +01:00
jzmaddock
2267c6af67 exp_sinh: Regenerate quad precision abscissa and weights. 2018-05-22 19:58:35 +01:00
jzmaddock
5839b19968 Update exp_sinh_quadrature_test.cpp to fix msvc test failure. 2018-05-21 18:28:40 +01:00
Nick Thompson
0d67b045ae [CI SKIP] Merge branch 'develop' into complex_exp_sinh 2018-05-05 10:00:42 +08:00
jzmaddock
9c366fede0 Merge branch 'warning_removal_2' into develop 2018-05-04 19:28:40 +01:00
jzmaddock
f73932460a Merge branch 'develop' into warning_removal_2
Restrict warning suppression to gcc > 4.8.
2018-05-04 19:27:47 +01:00
jzmaddock
c2ed84adad Merge pull request #122 from boostorg/travis_updates
Updates to travis: Do not speak unless there is an error, stop on fir…
2018-05-04 19:23:16 +01:00
jzmaddock
936e222508 Merge branch 'complex_gk' into develop 2018-05-04 19:18:40 +01:00
jzmaddock
4bb5e06332 Merge branch 'complex_gk' of https://github.com/boostorg/math into complex_gk 2018-05-04 18:08:33 +01:00
Nick Thompson
728b6949ed Complex valued integrand support for exp-sinh quadrature 2018-05-03 12:19:04 +08:00
Nick Thompson
157e33a516 [CI SKIP] Merge develop 2018-05-03 09:22:53 +08:00
Nick Thompson
cc9d1cc7f9 Fix build by replacing fabs->abs. 2018-05-02 12:24:30 +08:00
Nick Thompson
60aa168556 Fix cpp_dec_float. 2018-05-02 09:31:09 +08:00
jzmaddock
d949051482 Merge branch 'develop' into complex_gk 2018-05-01 19:30:39 +01:00
jzmaddock
8e2def96a6 Merge branch 'gauss_complex' into develop 2018-05-01 19:06:09 +01:00
jzmaddock
219fa40821 Gauss - update tests to use static integrate member. 2018-05-01 19:04:37 +01:00
Nick Thompson
ea6acb3855 [CI SKIP] Real->{Real, Complex} integrand support for Gauss-Kronrod quadrature. 2018-05-01 15:50:55 +08:00
Nick Thompson
26c8536a82 [CI SKIP] Document that Gaussian quadrature support R->C. 2018-05-01 12:06:39 +08:00
Nick Thompson
df0f02e412 [CI SKIP] Remove 'Control reaches end of non-void function warning.' 2018-05-01 10:45:11 +08:00
jzmaddock
e1a09b1f8e Gauss-complex - functions can still be static, simply error return. 2018-04-30 19:54:08 +01:00
jzmaddock
60640d3497 Merge branch 'develop' into gauss_complex
Simplify error handler return.
2018-04-30 17:59:58 +01:00
jzmaddock
51c3af89e2 Merge branch 'contour_integration' into develop 2018-04-30 08:46:27 +01:00
jzmaddock
5720a040ee Update test_trapezoidal.cpp error rates and fix float128 build settings. 2018-04-30 08:45:21 +01:00
jzmaddock
2261ed0a63 Merge branch 'develop' into contour_integration 2018-04-29 09:48:36 +01:00
Nick Thompson
27015f14bb [CI SKIP] Failing unit test for complex_128 2018-04-25 09:48:22 +08:00
Nick Thompson
cfdbb333e7 [CI SKIP] Remove warning in example 2018-04-24 21:20:40 +08:00
jzmaddock
72c56026f9 tanh_sinh: improve asserts on internal logic
and document why they might fail.
2018-04-23 18:21:57 +01:00
jzmaddock
b4ec109b83 tanh_sinh: change calculation method used for scaling ranges:
"naive" method is prone to generating a point at the endpoint if the endpoint is large, subtract scaled complement from the endpoint instead.
Open questions:
1) Can this still fail if the endpoint is a very large value?  For example if we have endpoints of [+large, +larger] where the difference between them is small?
2) Do we still need the asserts, or should they be replaced by some other check?
3) If the endpoints are replaced by some other check we could either massage the position to be one representable value below the endpoint, or else simply return 0.  The former risks evaluating at the same point over and over as we go down levels, the latter would seem to be incorrect for functions which do not go to zero at the endpoint.
2018-04-22 19:46:34 +01:00
Nick Thompson
c9e51c99a5 Add travis_wait so the build doesn't timeout with no output. 2018-04-14 16:47:21 +08:00
Nick Thompson
4d36de3160 Updates to travis: Do not speak unless there is an error, stop on first error. 2018-04-14 13:44:07 +08:00
Nick
aa3c3fdc01 Forgot to comment mpc.hpp before build 2018-04-06 20:42:58 -05:00
Nick Thompson
1a75908850 std::result_of->typedef decltype(f(a)). 2018-04-06 10:51:17 +08:00
Nick Thompson
240ed8f770 Merge branch 'contour_integration' into gauss_complex 2018-04-06 09:49:41 +08:00