jzmaddock
075f9f893b
[polygamma] Change low order negative-x cases to use new polynomial method. Change expected error rates to match.
2014-11-18 18:27:21 +00:00
jzmaddock
f4b86c2996
[polygamma] Switch to new better method for handling negative arguments.
2014-11-17 18:12:25 +00:00
jzmaddock
26f063eca4
Fix accuracy issue in cos_pi.
...
Add tests for cos_pi and sin_pi.
Doc regen.
2014-11-16 17:18:17 +00:00
jzmaddock
0e98fd90c2
[Polygamma] Add optimized trigamma version that uses rational approximations.
2014-11-07 16:32:41 +00:00
jzmaddock
8477de53b4
[polygamma]Fix spurious overflow for very large x.
2014-11-04 18:27:48 +00:00
jzmaddock
3478ee9c46
[polygamma] Fix GCC failures, a few bugs and forward policy arguments. Fix test data to be 128-bit safe.
2014-11-03 17:55:21 +00:00
jzmaddock
eccec791c7
[polygamma] Fix spurious overflow in transition zone, update cot derivative to work to arbitrary level.
2014-11-03 11:50:10 +00:00
jzmaddock
e70f53e670
[Polygamma] Fix issues with small negative arguments for x.
...
Tidy up a couple of cosmetic coding issues.
2014-10-31 18:51:14 +00:00
jzmaddock
8438b8a84b
[Polygamma] Extend derivatives-of-cot method to larger orders.
...
Extend test cases for negative x.
Fix missing return statement on error condition.
2014-10-31 18:07:01 +00:00
jzmaddock
513606dec5
[Polygamma] Don't use integer values in SC_ macro as it doesn't work with __float128.
2014-10-30 11:09:20 +00:00
jzmaddock
7427376bd9
[Polygamma]
...
Fix test data for small x - input x value were off slightly.
2014-10-28 19:37:50 +00:00
jzmaddock
83e6f58614
Add tests for small x.
2014-10-27 17:40:12 +00:00
jzmaddock
a3bed60089
More test failure fixes.
2014-10-26 16:25:19 +00:00
jzmaddock
22bc7212e7
[Polygamma]
...
Hook up concept checks.
Move test instantiations into instances lib.
Fix a few test failures.
Add Nikhar's trigamma tests.
2014-10-26 09:42:11 +00:00
jzmaddock
dffdb444ee
Expand test cases for negative x.
...
Add comment on the calculation of derivatives of cot(x).
2014-10-25 17:28:09 +01:00
jzmaddock
bda3331ed3
[Polygamma]
...
Fix digits_base10 to actually return the correct value!
Add support for negative x.
Add missing using declaration to digamma.
Update tests with negative x tests.
2014-10-24 18:50:37 +01:00
jzmaddock
f2ae6940ca
[Polygamma]
...
Optimize zeta function for integer arguments.
2014-10-23 17:08:19 +01:00
jzmaddock
29e86c8fcb
[Polygamma]
...
Extend existing digamma implementation to true multiprecision.
Add integer and half-integer test cases for digamma.
Change polygamma to call digamma when order is zero.
2014-10-23 11:42:57 +01:00
jzmaddock
4bc3b6076c
[Polygamma]
...
Fix real_concept compilation and runtime.
Add digits_base10 support function to policies.
2014-10-21 19:03:26 +01:00
jzmaddock
5f89e70efd
[Polygamma]
...
Add test cases.
Rewrite polygamma_atinfinityplus to avoid spurious underflow/overflow.
Rewrite polygamma_attransitionplus to call polygamma_atinfinityplus rather than have it's own routine.
Change condition which selects when polygamma_atinfinityplus can be called.
2014-10-21 13:12:26 +01:00
jzmaddock
9860071f84
Remove all references to tr1 components.
...
Update data generators to use Boost.Multiprecision.
2014-09-28 18:09:27 +01:00
jzmaddock
bd807c74e1
Fix more spurious overflows detected by Rocco Romeo.
2014-09-24 18:02:00 +01:00
jzmaddock
b471723bd1
Fix bug cases reported by Rocco Romeo:
...
* Add another approximation for x very small.
* Add code to handle cases where tgamma(a) would overflow.
* Add tests for the above.
2014-09-14 17:05:15 +01:00
jzmaddock
d1d6d5b063
Fix derivative of incomplete beta in special cases where a = b = 0.5 and b = 1.
...
Add additional tests to non-central F and T distributions to verify above fix.
Fixes https://svn.boost.org/trac/boost/ticket/10480 .
2014-09-12 16:29:29 +01:00
jzmaddock
321d8f2eda
Merge branch 'hyper_exponential' into develop
2014-09-08 18:12:52 +01:00
jzmaddock
f73ecae7f5
Add some tests for the error handlers.
2014-09-05 18:56:49 +01:00
sguazt
e4d290b501
[distributions] Hyper-Exponential: added test for special cases (i.e., the one discussed under the 'Related distributions' section of the doc).
2014-09-04 16:07:50 +02:00
jzmaddock
60a6730fe2
Modify Marco's 1 and 2 arg constructors to use SFINAE to differentiate between iterators and ranges.
...
Add a 1 arg initializer list constructor.
Update tests accordingly.
2014-08-30 17:03:26 +01:00
sguazt
62ee849eab
[distributions] Hyper-Exponential: added more constructors and class construction test case.
2014-08-28 10:12:41 +02:00
jzmaddock
1d37f8ad9d
Add extended tests for difficult cases from https://github.com/boostorg/math/pull/8
2014-08-25 17:02:21 +01:00
jzmaddock
d8c97bec27
Add initializer_list support and tests.
2014-08-25 13:11:51 +01:00
jzmaddock
2915adc0f8
Fix tolerance, add a missing L suffix on test data.
2014-08-25 10:26:37 +01:00
sguazt
c33e0ee2e2
[distributions] Hyper-Exponential: fixed test results according to Mathematica output when instead of decimal numbers we use fractions.
2014-08-25 10:53:27 +02:00
sguazt
4044b0dd2d
Merged from branch 'hyper_exponential'.
2014-08-25 10:38:57 +02:00
sguazt
5f61ec432d
[distributions] Hyper-Exponential: fixed test results according to Mathematica test output where in place of decimal numbers we use the corresponding fractions.
2014-08-25 10:07:08 +02:00
sguazt
0c0337a0df
[distributions] Hyper-Exponential: Improved test unit to support long-double type.
2014-08-24 19:47:01 +02:00
jzmaddock
90d2ebc13a
Change test type list when there are no long double math functions.
2014-08-24 18:41:51 +01:00
jzmaddock
d424e2ef23
Fix some more warnings and enable tests for all the test types.
2014-08-24 18:40:21 +01:00
jzmaddock
b925b0c0e8
Add hyperexponential_distribution to concept checks, fix for warnings/bugs.
2014-08-24 15:21:36 +01:00
jzmaddock
ffc483f907
Up precision of tests.
...
Fix some conceptual compiler errors in hyperexponential_distribution.
2014-08-24 09:29:11 +01:00
Robin Eckert
81cfe69d32
add explicit test cases for rounding corner cases
2014-08-23 19:31:08 +02:00
Robin Eckert
2b5ef4aa93
pull out for loop body of rounding test for later test
2014-08-23 19:14:14 +02:00
sguazt
4fbfc1f2ce
[distributions] Hyper-exponential: increased tolerance (from 1e-3 to 1e-4).
2014-08-22 18:33:07 +02:00
sguazt
3621b083e2
[distributions] Hyper-Exponential: registered tests and fixed some test-related issue.
2014-08-22 16:37:35 +02:00
sguazt
412bba6a24
[distributions] Added Hyper-Exponential distribution.
2014-08-22 15:01:23 +02:00
jzmaddock
3fe188da32
Remove all references to pow23_four_minus_pi: it's been removed, see also https://github.com/boostorg/math/pull/5
2014-08-17 09:28:37 +01:00
jzmaddock
60441c5d3a
Add missing #includes, see https://github.com/boostorg/math/pull/5/files
2014-08-17 09:25:05 +01:00
jzmaddock
b6081dc422
Workaround broken --remove-test-targets option.
2014-06-27 17:11:12 +01:00
jzmaddock
ee8edd4c33
Fix up functions that were returning tools::max_value to call overflow_error instead.
...
See https://svn.boost.org/trac/boost/ticket/10111 .
2014-06-12 13:50:30 +01:00
jzmaddock
e20b44e8a9
Move headers that are mostly used for internal maintenance and testing into an "include_private" directory - this is to reduce dependencies on other Boost modules when using this library.
2014-06-09 16:08:35 +01:00