2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-30 20:12:09 +00:00
Commit Graph

917 Commits

Author SHA1 Message Date
John Maddock
c11e570ec0 Fix use of student's t approximation to inverse so we don't get 1 and 0 as the result.
[SVN r85966]
2013-09-26 18:32:55 +00:00
Stephen Kelly
9f5b46760a Math: Remove obsolete MSVC version check.
[SVN r85930]
2013-09-26 09:40:30 +00:00
Stephen Kelly
c118e1fdf5 Remove use of obsolete BOOST_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macros.
[SVN r85894]
2013-09-25 10:28:56 +00:00
Stephen Kelly
8e8f2d37df Remove use of BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
[SVN r85893]
2013-09-25 10:28:28 +00:00
Paul A. Bristow
394b90801a Order of test for Trac #9126 in logistic and comments.
[SVN r85790]
2013-09-19 16:16:20 +00:00
John Maddock
f885891714 Suppress warning in fraction.hpp.
Fix internal consistency of argument reduction in elliptic integrals when the argument is very close to a multiple of PI/2.
Fixes #9107.
Fixes #9104.

[SVN r85678]
2013-09-15 16:56:43 +00:00
John Maddock
f50e0f1f9b Fix GCC -Wshadow warnings.
[SVN r85667]
2013-09-14 16:07:45 +00:00
John Maddock
eea2f238ed Fix order of error checks.
Fixes #9042.

[SVN r85601]
2013-09-08 08:46:18 +00:00
John Maddock
a3e3e86eaf Fix bug in incomplete beta inverse estimation routine (when estimating from student's t).
Add special cases to incomplete beta and inverse for a=b=0.5 and b=1.
Added tool for generating high precision gamma function test values.

[SVN r85572]
2013-09-05 15:56:17 +00:00
Paul A. Bristow
041dffcf2e Added missing version of overflow error handling to include a val parameter.
[SVN r85414]
2013-08-21 10:49:40 +00:00
John Maddock
f571156b54 Made a few core functions usable with long double even when there is no std lib long double support.
Fixes #8940.

[SVN r85188]
2013-08-02 08:30:04 +00:00
John Maddock
7858278bec Fix gcc-4.8.x warnings.
Fix some Mingw failures.
Fixes #8855.

[SVN r85131]
2013-07-23 11:09:47 +00:00
John Maddock
30193aee08 Fix Thomas Luu's approximation.
[SVN r85103]
2013-07-22 11:50:26 +00:00
John Maddock
fc451ee936 Don't throw exceptions from itrunc/iround if all we're doing is checking to see if the argument is an integer.
Don't propagate no-throw policies inside MPFR's itrunc/iround.
Use normal approximation to student's t quantile when the degrees of freedom is big enough.
Fixes #8837.

[SVN r85075]
2013-07-18 17:31:42 +00:00
John Maddock
858aa989c9 Patch from Thomas Luu for the case where Pearson's approximation goes negative.
[SVN r85074]
2013-07-18 17:09:02 +00:00
John Maddock
e915b95e05 Fix formula used in non central chi squared quantile, and document code better.
[SVN r85034]
2013-07-14 16:00:11 +00:00
John Maddock
4afe08b440 Fix overflow/underflow errors when x is very close to 2.
[SVN r84951]
2013-07-04 15:31:32 +00:00
John Maddock
a4fbc8bdae Fix for evaluation at float precision.
[SVN r84944]
2013-07-03 15:51:50 +00:00
John Maddock
dca59f0d25 Add test for things that are macros in C99 to ensure we call these correctly.
Refs #8732.
Fixes #8733.

[SVN r84917]
2013-06-30 11:05:21 +00:00
John Maddock
8243a35a5e Don't mix literal and non-literal initializers in one table - it causes the PGI compiler to generate incorrect code.
Refs #8621.

[SVN r84789]
2013-06-15 08:04:54 +00:00
John Maddock
fd33bddb6c Don't mix literal and non-literal initializers in one table - it causes the PGI compiler to generate incorrect code.
Refs #8621.

[SVN r84714]
2013-06-09 14:14:11 +00:00
John Maddock
c08785d7dd Minor fix for multiprecision types.
[SVN r84547]
2013-05-29 11:12:06 +00:00
John Maddock
1f0d223ba6 Try and suppress msvc warning.
Refs #8584.

[SVN r84355]
2013-05-18 17:54:46 +00:00
John Maddock
7f885fda28 Fix buggy last commit.
[SVN r83808]
2013-04-08 12:04:26 +00:00
John Maddock
c07c35a34e Refactored build process to improve compile times.
Fixed expression-template incompatibility in spherical_harmonic.hpp.
Fixed expression template issues in log1p_expm1_test.hpp and test_cbrt.hpp.

[SVN r83775]
2013-04-06 08:54:04 +00:00
John Maddock
6f086d3729 Remove outdated workarounds and simply code.
Fixes #8333.

[SVN r83748]
2013-04-03 17:45:33 +00:00
John Maddock
1fc563b576 disable __float128 constants in __STRICT_ANSI__ mode as GCC doesn't support them. Fix a bunch of warnings emitted by gcc-4.8.
[SVN r83632]
2013-03-29 19:01:05 +00:00
John Maddock
5197064879 Make use of lexical_cast (and hence multiprecision support) dependent on there being an iostreams lib. Should allow use on embedded platforms, especially WinCE.
Fixes #8327.

[SVN r83537]
2013-03-24 12:01:58 +00:00
John Maddock
31efbe8924 Reorganise header inclusion to minimise dependencies on <iostream> and <boost/lexical_cast.hpp>.
Refs #8327.

[SVN r83532]
2013-03-23 17:05:15 +00:00
John Maddock
6e626c1830 Fix edge case in Halley iteration where the derivative is flatlining.
Fix edge cases in poisson distribution quantile.
Fixes #8314.
Fixes #8308.
Update and regenerate docs.

[SVN r83512]
2013-03-21 13:01:50 +00:00
Paul A. Bristow
69f49b2b96 Made order of parameters match specification for ai and bi.
airy_bi_zero<T>(start_index, number_of_zeros, out_it, policies::policy<>());

[SVN r83415]
2013-03-13 15:04:22 +00:00
John Maddock
0716a1aad4 Restrict __float128 support to GCC only for now.
Fixes #8265.

[SVN r83369]
2013-03-09 11:32:51 +00:00
John Maddock
307d5ae933 Adjust tgamma_ratio failure rates, fix some clang warnings, plus a bug in error_handling.hpp that causes unitialized variable use in some situations.
[SVN r83360]
2013-03-08 12:16:13 +00:00
John Maddock
343d9ba8e6 Remove dependency on quadmath.h.
Fixes #8265.

[SVN r83356]
2013-03-08 11:33:04 +00:00
John Maddock
42b3d6bb0f Fix a couple of expression template support issues in bessel.hpp.
Add minimal support for __float128 - particularly numeric constant support.
Improve constant test cases.
Fix bug in zeta function tests.

[SVN r83342]
2013-03-07 09:17:09 +00:00
John Maddock
6c6e542ed4 Tighten up error handling is tgamma_ratio.
[SVN r83316]
2013-03-05 18:33:58 +00:00
John Maddock
cbaf7486e5 Fixes #8116.
[SVN r83283]
2013-03-03 16:32:30 +00:00
John Maddock
51dd944d85 Improve accuracy of tgamma_ratio when one argument is very small, thanks to ideas from Rocco Romeo.
[SVN r83250]
2013-03-02 18:59:50 +00:00
John Maddock
cd55f94984 Fix bug in zeta that results in an incorrect domain_error for -eps < s < 0.
Add new constant needed by fix.

[SVN r83228]
2013-03-01 13:18:07 +00:00
Paul A. Bristow
c3b76f5745 Added missing function definition for error message.
[SVN r83186]
2013-02-27 12:50:26 +00:00
Christopher Kormanyos
fd836efe63 Added exception handling to airy_ai_zero() and airy_bi_zero().
[SVN r83168]
2013-02-26 20:34:23 +00:00
Christopher Kormanyos
99f141004b Corrected edge cases for cyl_neumann_zero() with negative order.
[SVN r83167]
2013-02-26 20:33:20 +00:00
Christopher Kormanyos
f2be55beef Corrected cyl_neumann_zero() for negative order.
Improved the clarity of source level comments in the Bessel zero codes.

[SVN r83109]
2013-02-23 20:54:18 +00:00
Christopher Kormanyos
b2067a5baf Added support for negative order to cyl_neumann_zero().
[SVN r83095]
2013-02-23 12:50:45 +00:00
Christopher Kormanyos
3f67bdb96c Added support for the zeros of Jv with negative order v.
Added additional checks for the zero'th zero of Jv.

[SVN r83051]
2013-02-20 20:40:18 +00:00
John Maddock
c81974e215 Add missing link dependency to Paul Bristow's new example.
Fix tgamma bug reported by Rocco Romeo.
Update history.

[SVN r83011]
2013-02-19 17:02:50 +00:00
John Maddock
080adc5bbf Fix reflection formula for integer v.
[SVN r82948]
2013-02-17 13:26:12 +00:00
Christopher Kormanyos
8fa0f73e6b Add support for the first zero of Y0(x).
Add support for the zero'th zero of Jv(x), with v != 0.

[SVN r82934]
2013-02-16 20:22:28 +00:00
John Maddock
e0a7e6afdb Fix cyclic dependency.
Fixes #7999.

[SVN r82921]
2013-02-16 12:47:18 +00:00
John Maddock
60198aafca Fix raise_rounding_error to return the correct result (and type) when an error occurs.
Fixes #7905.

[SVN r82885]
2013-02-14 18:20:03 +00:00