jzmaddock
c52983cef0
Fix constructibility test in big_constant.hpp.
2019-10-18 17:55:24 +01:00
jzmaddock
238436ee07
Sterling: extend Sterling's approximation to the beta functions.
...
Adjust expected error rates accordingly.
Fixes https://github.com/boostorg/math/issues/247 .
2019-10-11 11:12:02 +01:00
jzmaddock
da68ee767b
Big tidy up of gamma function sterling code.
...
adjust minimum argument for sterling to reduce error rates.
Adjust expected errors accordingly.
2019-10-05 20:46:14 +01:00
jzmaddock
147e9d13b6
regularised_gamma_prefix: no overflow possible for a,z < 1.
2019-10-02 19:47:58 +01:00
jzmaddock
fafd84d9d7
Apply Sterling's approximation to more gamma functions to improve multiprecision performance.
...
See https://github.com/boostorg/math/issues/247 .
2019-09-28 16:45:34 +01:00
NAThompson
c76c2af1ce
Empirical cumulative distribution function: Add bool flag for sorted.
2019-09-25 13:05:58 -04:00
Nick
ee555a0738
Empirical Cumulative Distribution function
2019-09-24 11:00:07 -04:00
Nick
72a66b109a
Support integer distributions.
2019-09-24 10:11:58 -04:00
Nick
3a349bf2da
Empirical cumulative distribution function.
2019-09-24 09:44:16 -04:00
jzmaddock
b9555d032d
Merge branch 'develop' of https://github.com/boostorg/math into develop
2019-09-21 18:02:39 +01:00
jzmaddock
ad6aeb20a6
Skew normal: fix up moments to avoid accidental division by zero.
...
Would otherwise occur when the shape is zero.
Fixes: https://github.com/boostorg/math/issues/254 .
2019-09-21 18:02:18 +01:00
jzmaddock
8e5f9b177c
Merge branch 'develop' into issue_161
2019-09-15 18:28:54 +01:00
jzmaddock
1b8a06f3ec
roots.hpp: Update to newton_raphson_iterate and halley_iterate to catch cases where there is no root, or we are trapped in a local minima.
...
Also suppress some warnings in polynomial.hpp and update tests.
Fixes: https://github.com/boostorg/math/issues/161 .
2019-09-15 14:39:50 +01:00
jzmaddock
3ce2b6b705
Merge pull request #251 from boostorg/no_multiprecision_depend
...
No multiprecision depend
2019-09-14 17:03:22 +01:00
jzmaddock
8971f0740a
Cast results of frexp to void so we don't get warnings from msvc.
...
See: https://github.com/boostorg/math/issues/252 .
2019-09-13 13:36:46 +01:00
jzmaddock
417d10c7e4
Add some more constants that are present in POSIX but absent from Boost.Math.
2019-09-13 13:35:33 +01:00
jzmaddock
97ff1ef8a0
Add constant log2_e.
2019-09-12 13:33:13 +01:00
jzmaddock
0f7b469ccb
roots.hpp: rework quadratic_roots so that integer types are promoted to double.
...
Add workaround for platforms with no std::fma.
Fixes https://github.com/boostorg/math/pull/249 .
2019-09-12 09:01:29 +01:00
jzmaddock
d77474460a
Remove dependencies on multiprecision.
2019-09-10 18:21:32 +01:00
jzmaddock
7a9ae5fd51
Add missing include guards. [CI SKIP]
2019-09-10 10:46:42 +01:00
Nick
4294260812
Merge pull request #245 from boostorg/deprecate_cubic_b_spline
...
Deprecate cubic B-spline for cardinal cubic B-spline [CI SKIP]
2019-08-30 08:02:41 -04:00
pabristow
22cdedec01
Merge branch 'compilance' into develop
2019-08-29 14:31:20 +01:00
Nick
2edf4a9790
Merge pull request #244 from boostorg/cardinal_quintic_b_spline_1
...
Cardinal quintic b spline 1
2019-08-29 09:02:43 -04:00
NAThompson
e8b9c12886
Make sure not to allow instantiation on integer types. [CI SKIP]
2019-08-29 09:02:20 -04:00
NAThompson
1f0c1bb8dc
Documentation for Jacobi polynomials.
2019-08-28 16:21:03 -04:00
NAThompson
7c4f6e06e5
Merge develop [CI SKIP]
2019-08-28 15:52:21 -04:00
Nick
b543139d3a
Merge pull request #233 from boostorg/gegenbauer_1
...
Gegenbauer polynomials
2019-08-27 07:47:58 -04:00
NAThompson
1c6b7b50a3
Gegenbauer polynomials: Add gegenbauer_prime and kick off build.
2019-08-23 09:23:34 -04:00
pabristow
0ab00c3f9d
[CI SKIP] changes to get inspect program problem-free, but one test failure in recurrence.cpp
2019-08-23 09:25:22 +01:00
NAThompson
caf1883788
Deprecate cubic B-spline for cardinal cubic B-spline [CI SKIP]
2019-08-22 09:35:05 -04:00
NAThompson
7364de0090
Cardinal Quintic B-spline: Derivative estimation. [CI SKIP]
2019-08-18 12:08:34 -04:00
NAThompson
648d2b0022
Merge branch 'develop' into cardinal_quintic_b_spline_1
2019-08-18 11:10:03 -04:00
Nick
cf48e191a6
Merge pull request #240 from boostorg/cardinal_b_spline_derivatives
...
Cardinal B-spline derivatives
2019-08-18 09:21:41 -04:00
NAThompson
1483516247
Cardinal quintic B-splines: First and second derivatives [CI SKIP]
2019-08-15 14:13:25 -04:00
NAThompson
d631d86efa
Merge branch 'cardinal_b_spline_derivatives' into cardinal_quintic_b_spline_1 [CI SKIP]
2019-08-15 11:42:47 -04:00
NAThompson
4f9d284e83
Cardinal Quintic B-spline interpolator: Up and running. [CI SKIP]
2019-08-15 11:39:18 -04:00
jzmaddock
fd07b121a6
lgamma: correct spurious overflow in SSE2 optimized code.
...
Only evaluate the lanczos part if it will make a difference.
Add tests.
Fixes: https://github.com/boostorg/math/issues/242 .
2019-08-13 21:45:18 +01:00
NAThompson
73429a3df5
Cardinal Quintic B-spline interpolator: First sketch. [CI SKIP]
2019-08-13 08:12:33 -04:00
NAThompson
3291ac891b
Fix static assert with no message on C++11.
2019-08-13 07:54:07 -04:00
NAThompson
5c8fcb4cd5
Cardinal B-spline derivatives.
2019-08-12 10:07:06 -04:00
NAThompson
e327be5887
Cardinal B-spline derivatives [CI SKIP]
2019-08-11 14:52:47 -04:00
jzmaddock
b25f4c968f
1F1: Correct sign of values in cyl_bessel_i_shrinkage_rate.
...
Optimises which method is chosen.
Also correct rescaling in bessel_i_backwards_iterator so we don't get too close to zero and rely on type T having denorms.
2019-08-11 12:13:01 +01:00
jzmaddock
2393ebb937
Merge branch 'develop' of https://github.com/boostorg/math into develop
2019-08-11 08:43:28 +01:00
jzmaddock
46acbf840a
Bernoulli: Correct overflow in find_bernoulli_overflow_limit.
...
Occurs when using a multiprecision type with very large exponent range (ie a long long exponent).
Fixes: https://github.com/boostorg/multiprecision/issues/151
2019-08-11 08:42:06 +01:00
NAThompson
357cc1528a
Derivatives of trigonometric interpolant.
2019-08-09 08:39:52 -04:00
NAThompson
edfb80e76d
Cubic B-spline second derivatives
2019-08-07 14:10:08 -04:00
NAThompson
09d3ee47cf
Jacobi polynomials: Tests and derivatives [CI SKIP]
2019-08-06 09:53:58 -04:00
NAThompson
b5114e1c75
Jacobi polynomials [CI SKIP]
2019-08-05 08:43:14 -04:00
jzmaddock
c159693d7e
1F1: tidy up docs and suppress/fix some compiler warnings.
2019-08-05 13:17:42 +01:00
NAThompson
a733b75005
Gegenbauer polynomials: Implement derivatives. [CI SKIP]
2019-08-04 15:15:52 -04:00