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

1827 Commits

Author SHA1 Message Date
pabristow
de4d578fc5 deconflict lambert_w.hpp 2018-02-19 16:54:52 +00:00
Nick Thompson
578a1a6ed1 [ci skip] Revert to boost::atomic as std::atomic made things worse. 2018-02-18 22:19:04 -06:00
Nick Thompson
33ce9eb94e Swap out boost::atomic with std::atomic to determine how widespread compiler support is via the CI system. Replace RNG with RandomNumberGenerator to protect against weird macros. 2018-02-18 17:19:42 -06:00
Nick Thompson
cfd81335e9 [ci skip] Fix merge conflict from develop 2018-02-17 18:05:02 -06:00
Nick Thompson
ca66072ac9 [ci skip] Fix infinite limit transforms. Add user option to provide alternative random number generator. Allow deterministic seed for testing, though this is still not fully deterministic. Reduce time between observations. 2018-02-17 17:41:06 -06:00
jzmaddock
c5805cc8bc Merge pull request #112 from boostorg/NAThompson-patch-1
[ci skip] Fix typo in error message.
2018-02-17 09:19:17 +00:00
jzmaddock
dce923bdf5 Merge branch 'develop' into naive_monte_carlo 2018-02-16 18:12:31 +00:00
jzmaddock
70e67bbc2d polynomial_gcd.hpp: Fix namespace name for gcd_range. 2018-02-16 18:07:28 +00:00
jzmaddock
6b9364dd3a Merge branch 'develop' into naive_monte_carlo 2018-02-16 18:05:52 +00:00
jzmaddock
073e7a7196 Merge branch 'develop' into naive_monte_carlo 2018-02-16 17:59:00 +00:00
Nick
f97fd25005 Fix build by using boost::integer::gcd over boost::math::gcd 2018-02-16 10:27:21 -06:00
Nick
5b9e412189 Fix typo in error message. 2018-02-15 18:36:12 -06:00
jzmaddock
49cbe80df1 naive_monte_carlo: add missing include, suppress some warnings and fix some min/max issues. 2018-02-15 20:10:18 +00:00
jzmaddock
5d5d063abe std_real_concept: update to allow testing in C++03 mode while retaining Nicks C++11 concepts when required. 2018-02-15 20:09:28 +00:00
jzmaddock
c4190aa7e2 Merge pull request #109 from boostorg/gcd_deprecation
Put explicit deprecation warning on boost/math/common_facto…
2018-02-15 11:55:27 +00:00
Nick Thompson
2bb193f93e [ci skip] Use boost::atomic<Real> instead of std::atomic<Real>. 2018-02-14 18:09:03 -06:00
jzmaddock
edd4b44d40 Merge pull request #97 from DanielaE/fix/replace-deprecated-allocator-members
Most members of std::allocate are deprecated in C++17
2018-02-14 20:34:28 +00:00
jzmaddock
c6b734a791 Merge pull request #110 from boostorg/pr64
Integration test PR64
2018-02-13 19:47:54 +00:00
Nick Thompson
a069b60588 [ci skip] Perturb boundaries rather than range of random number generator to ensure that singularities aren't hit in the integrand. Note that this breaks the double infinite limits; I need to let that one stew a bit before figuring out how to deal with it. Let the user specify if the integrand is singular, since peeling a high-dimensional orange leaves almost nothing. 2018-02-12 15:57:25 -06:00
jzmaddock
7403cbbd43 Make table driven functions constexpr:
unchecked_factorial, unchecked_bernoulli_b2n and prime.
2018-02-11 19:59:26 +00:00
Nick Thompson
36fc4bd783 [ci skip] Use BOOST_HEADER_DEPRECATED to deprecated header instead of one-off hacks. 2018-02-11 12:15:18 -06:00
jzmaddock
d32258fcea Numeric differentiation: make some trivial changes so we don't need C++17.
Update Jamfile to exclude testing compilers which can't handle the tests.
2018-02-11 17:52:22 +00:00
jzmaddock
f4dfb9088f Merge branch 'numerical_differentiation_2' of https://github.com/NAThompson/math into pr64
Fixed Conflicts:
   include/boost/math/concepts/std_real_concept.hpp
   test/Jamfile.v2

Changes:
   Minor changes to get things compiling with msvc.
2018-02-11 16:33:41 +00:00
Nick Thompson
353c2e0fd4 [ci skip] Remove hyperbolic language related to complex step derivative. Ensure macro substitution of 'max' doesn't break routines. Add copyright notices. 2018-02-10 16:24:16 -06:00
Nick Thompson
0c48214260 [ci skip] Put explicit deprecation warning on boost/math/common_factor.hpp 2018-02-10 13:23:55 -06:00
Daniela Engert
f6883a6595 Most members of std::allocate are deprecated in C++17
Replace them by their cousins from std::allocator_traits.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-02-10 10:32:24 +01:00
Nick Thompson
0a8d5bfb37 [ci skip] Fix derivative at singularity at z = 0 of Lambert W -1. 2018-02-09 14:36:05 -06:00
Nick Thompson
8a7539c707 [ci skip] Pick the low hanging fruit of the Lambert-W derivative. Remove a few typos from the documentation. 2018-02-09 13:57:25 -06:00
Nick Thompson
4b55b42268 [ci skip] Use C++17 'if constexp' to avoid branch. Modularize stepsize logic into single call. Do not assume 3ULP evaluation in error, assume 1ULP. Add reference to great numerical analysis text which also promotes these methods and clean up documentation. 2018-02-09 11:53:44 -06:00
Nick Thompson
da4a027233 [ci skip] Remove 'print_coefficients()' as 'coefficients()' is implemented and 'print_coefficients()' requires including <iostream> which was previously not included in chebyshev_transform.hpp 2018-02-04 11:47:53 -06:00
Nick Thompson
5e78b298da [ci skip] Use Unix-style paths. Add tests for lambert-W testing integrals of the Lambert-W function. 2018-02-02 21:33:54 -06:00
pabristow
b4ffbedf1e Change to use JM W0 version. 2018-01-30 12:11:03 +00:00
jzmaddock
f0b5e17ebf Merge branch 'develop' of https://github.com/boostorg/math into develop 2018-01-30 08:27:10 +00:00
jzmaddock
426db8d929 Math.Quaternion: Fix forward declarations of quaternion.
See https://github.com/boostorg/math/issues/99
2018-01-30 08:26:50 +00:00
jzmaddock
5ad688def2 Merge pull request #100 from kuhlenough/develop
Don't use std::fpclassify() on VxWorks as well
2018-01-25 10:16:51 +00:00
pabristow
6d73d8f517 commit so can switch to develop (problem in one polynomial nearest singularity 2018-01-23 14:38:56 +00:00
jzmaddock
bac580583b Math: Fix the distribution explorer build files for VS2017.
Fix lanczos.hpp to not use native code on managed builds.
2018-01-21 10:04:38 +00:00
jzmaddock
da9d77ef2e Hypergeometric: Begin fixing errors from large params in 1F1 2018-01-20 17:48:51 +00:00
jzmaddock
5a1f4d90ba Hypergeometric: start testing larger arguments to 1F1 and begin to fix the errors. 2018-01-20 17:46:57 +00:00
Brian Kuhl
72997d2963 Don't use std::fpclassify() on VxWorks as well
It doesn't exisit
2018-01-16 11:02:06 -05:00
Nick Thompson
7341a149de More review from codereview.stackexchange.com 2018-01-12 22:59:56 -06:00
Nick Thompson
a90aac3656 Cleanup based on codereview.stackexchange.com suggestions. 2018-01-12 16:33:07 -06:00
Nick Thompson
ec3412ac28 Better comments, #include guards. 2018-01-12 13:14:34 -06:00
Nick Thompson
358d9d3496 In float precision, make sure that eps < x[j] < 1 - eps, or we hit singularities on the boundary. 2018-01-11 21:57:15 -06:00
Nick Thompson
a13c7e9ab0 Double infinite limits. 2018-01-11 12:08:53 -06:00
Nick Thompson
d5eb6e3995 Support infinite lower and upper bounds. 2018-01-11 11:39:21 -06:00
Nick Thompson
d0e52cf8c9 Policies for monte-carlo 2017-12-30 10:53:53 -07:00
jzmaddock
0dd6df4221 Math.Hypergeometric_1F1: add error handling for large recurrences. 2017-12-02 19:16:58 +00:00
jzmaddock
15a1156b4c Math.Hypergeometric_1F1: Update tests for small random values, fix resulting errors. 2017-12-02 19:10:50 +00:00
Nick Thompson
0da69d2626 Add isfinite to std_real_concept to fix build. 2017-11-29 16:17:08 -07:00