Nick Thompson
d2bf1b18fd
Merge branch 'develop' into complex_newton
2018-12-07 09:03:08 -07:00
jzmaddock
0152cfa2a9
Incomplete gamma: add asymptotic approximation for large argument.
...
Allows the functions to be used with very large (or infinite) argument.
Fixes: https://github.com/boostorg/math/issues/168 .
2018-12-07 09:37:50 +00:00
Nick Thompson
37336e2372
Merge branch 'develop' into complex_newton
2018-12-04 14:28:52 -07:00
Nick Thompson
6e25e27d01
Merge branch 'develop' into complex_newton
2018-12-04 11:09:06 -07:00
Nick Thompson
baddf9509a
The move constructor is 30% faster than the copy; hence remove the data copy and only allow move construction. [CI SKIP]
2018-12-02 13:34:51 -07:00
Nick Thompson
fd519a73d6
Implement suggestions from code review [CI SKIP]
2018-12-02 11:18:41 -07:00
jzmaddock
c0f236e251
Merge branch 'develop' into catmull_rom
...
Fixed Conflicts:
doc/Jamfile.v2
Corrected some doc formatting, and regenerated the docs.
2018-12-01 19:38:16 +00:00
jzmaddock
33d3d0942f
Merge branch 'polynomial_constructor' into develop
2018-12-01 11:21:27 +00:00
jzmaddock
7abcd6ef4a
roots.hpp: Don't allow division by zero (or overflow) even though it's harmless in this case.
...
Fixes: https://github.com/boostorg/math/issues/164
2018-12-01 10:09:39 +00:00
jzmaddock
889793b51e
Add missing file.
2018-11-30 19:59:06 +00:00
jzmaddock
db408fde2b
roots.hpp: clean up code so that there is no division by zero possible.
...
Fixes: https://github.com/boostorg/math/issues/160 .
2018-11-30 19:54:34 +00:00
jzmaddock
451afc3102
Fix polynomial template constructors.
2018-11-30 19:31:51 +00:00
Nick Thompson
d46f746cb3
Move to clustered roots termination criteria rather than range magnitude. [CI SKIP]
2018-11-28 16:31:13 -07:00
Nick Thompson
66373a0b22
Fix failing unit test by using semi-scale invariant termination criteria. [CI SKIP]
2018-11-28 14:35:34 -07:00
Nick Thompson
3ab69d00ee
Complex Newton's method. Zero derivatives handled by Muller's Method.
2018-11-25 00:19:11 -07:00
Nick Thompson
5c790ac358
Polynomials now work with float128 [CI SKIP]
2018-11-15 01:58:46 -07:00
Nick Thompson
207303585a
Small changes so that we can template the polynomials on complex types.
2018-11-14 21:38:41 -07:00
Nick Thompson
54f475e58f
Add call operator, .prime(), .integrate(), and move constructor to polynomial.hpp
2018-11-14 17:04:57 -07:00
jzmaddock
b5eb687556
Tanh_sinh: Fix for https://github.com/boostorg/math/issues/155 .
2018-11-14 18:55:11 +00:00
Nick Thompson
381f663517
Merge and run CI
2018-10-28 23:27:41 -06:00
jzmaddock
d78af61023
Tentative fix for MacOS X test failure in relative_difference.
2018-10-15 13:48:56 +01:00
jzmaddock
5eca86157b
Modify tanh_sinh to work with complex integrals.
2018-10-08 20:45:15 +01:00
Nikita Kniazev
5152160fea
constants: Removed extra semicolons
2018-10-01 18:37:45 +03:00
jzmaddock
34e6afacc2
Fixes that allow Math to be used with multiprecision::mpfr_float.
2018-09-26 18:10:05 +01:00
jzmaddock
bfabc65564
Merge pull request #150 from boostorg/remove_endian_deprecated
...
Remove deprecation warning from the BOOST_BIG_ENDIAN and BOOST_LITTLE…
2018-09-14 17:29:49 +01:00
Nick Thompson
6ec5838685
Change #if defined(BOOST_ENDIAN_*_BYTE) to #if BOOST_ENDIAN_*_BYTE on the advice of code review from pdimov.
2018-09-12 11:37:31 -06:00
Nick Thompson
a180b490f2
Remove deprecation warning from the BOOST_BIG_ENDIAN and BOOST_LITTLE_ENDIAN macros.
2018-09-12 10:20:05 -06:00
jzmaddock
95680e179d
Merge pull request #121 from boostorg/rational_derivatives
...
Add derivative of barycentric rational interpolation.
2018-09-04 13:01:31 +01:00
jzmaddock
0f02355a1c
LambertW: remove dead file and move lambert_w_lookup_table.ipp into /detail/.
...
[CI SKIP]
2018-09-02 18:00:07 +01:00
jzmaddock
628ffd1c80
Merge branch 'develop' into rational_derivatives
2018-09-02 12:58:59 +01:00
jzmaddock
79871fe747
LambertW: CI fixes.
...
Fix definition of lambert_w0_small_z_series_term.
Move rational approximations into smaller functions to try and keep msvc happy.
2018-08-31 19:53:34 +01:00
jzmaddock
02c7df005d
LambertW: Fix more CI failures:
...
Add fallback for 128-bit lambertW implementation.
Disable real_concept tests for msvc-12 and earlier as the compiler can't cope.
2018-08-31 09:56:03 +01:00
jzmaddock
982d82b2b5
LambertW: Hook up real_concept tests and fix resulting errors.
2018-08-30 19:48:27 +01:00
jzmaddock
3104f3ad79
LambertW: Fix for types with no numeric_limits.
...
Configuration fix for __float128 support.
2018-08-30 18:47:40 +01:00
jzmaddock
364952fd8a
LambertW: pedantic changes to docs.
...
[CI SKIP]
2018-08-30 18:21:28 +01:00
jzmaddock
bed980e202
Merge branch 'develop' into lambertw
2018-08-30 10:17:19 +01:00
jzmaddock
3abd04ce50
LambertW: Hook up concept checks, and fix failures.
2018-08-30 08:57:35 +01:00
jzmaddock
45b86cf115
LambertW: Fix up GCC support.
...
Split tests into smaller units so as not to generate over-large object files.
2018-08-29 19:34:30 +01:00
jzmaddock
10e6f0d68f
Lambert W: Add tests near the singularity.
...
Fix a couple of minor issues in the implementation to improve error rates.
NB: errors very near the singularity are still very high - this is an intrinsic property of the function - we are solving z = w exp(w) for w, but there are actually a wide range of w values which satisfy the equation once we get very close to the singularity.
2018-08-26 19:51:15 +01:00
jzmaddock
d002d1491a
LambertW: Tidy up header includes.
2018-08-22 19:31:22 +01:00
jzmaddock
5f495d259e
Correct spelling of "boost" !
2018-08-21 08:34:21 +01:00
jzmaddock
386898c089
Update continued fractions and series:
...
To support complex types, and better docs.
Fixes: https://github.com/boostorg/math/issues/129 .
2018-08-20 21:22:06 +01:00
jzmaddock
7cd5d420da
roots.hpp: suppress warning and fix logic error caused by previous commit.
2018-08-20 10:30:37 +01:00
jzmaddock
5d590c812e
Prevent logic error leading to infinite loop in toms748_solve.
...
Fixes: https://github.com/boostorg/math/issues/138 .
2018-08-19 18:57:06 +01:00
jzmaddock
d7d6b1a99b
Fix mean and standard_deviation for extreme_value_distribution.
...
Fixes: https://github.com/boostorg/math/issues/139 .
2018-08-19 17:46:52 +01:00
jzmaddock
91c193d2d2
Improve heuristics used in newton_raphson_iterate.
...
Copies heuristics already in place for halley_iterate for the case where convergence fails.
Fixes: https://github.com/boostorg/math/issues/145
2018-08-19 16:27:45 +01:00
jzmaddock
26e2e61de9
Fix erf(NaN).
...
Fixes https://github.com/boostorg/math/issues/141
2018-08-19 09:28:37 +01:00
jzmaddock
9e3bf4e3e1
Fix for platforms where we have no atomic types: fixes https://github.com/boostorg/math/issues/134 .
2018-07-30 18:15:31 +01:00
jzmaddock
bdb3f0e903
Fix for integer overflow in exponent calculation on decimal types in next.hpp: See https://github.com/boostorg/math/issues/135
2018-07-29 18:12:35 +01:00
pabristow
aaa38c3fee
first draft of no-precision policy version.
2018-07-17 17:39:27 +01:00