John Maddock
5b95219e09
Fixed digamma 128-bit error rates with a more accurate value for the root.
...
Updated png's: hopefully they'll all render OK now.
Tweeked docs to reflect recent advances.
[SVN r3237]
2006-10-04 09:57:05 +00:00
John Maddock
dc9165592e
Updated digamma docs and code.
...
Added needed include to test_data.hpp.
Changed Doc Jamfile to generate TOC with 0.2 version FOP.
[SVN r3232]
2006-10-02 16:58:49 +00:00
John Maddock
5997e3249c
Added digamma.
...
Added needed #include to evaluation_type.
Updated minimax and lanczos generators to take account of digamma.
[SVN r3231]
2006-10-01 09:45:44 +00:00
John Maddock
4679d4e421
Updated rational function evaluation with compile time detection of array size.
...
Added tests.
Updated Jamfile.
[SVN r3214]
2006-09-22 18:03:57 +00:00
John Maddock
5b9e2ec5a8
Added new (better) forms for evaluating polynomials.
...
Added more Remez code, and appoximations for erf/erfc inverses.
Updated and refactored erf code to use new approximations.
Added more test cases.
[SVN r3210]
2006-09-22 09:28:40 +00:00
John Maddock
33783a0295
Updated list of tests.
...
[SVN r3202]
2006-09-16 18:29:12 +00:00
John Maddock
70f321faf7
Typo fix.
...
[SVN r3201]
2006-09-16 16:42:57 +00:00
John Maddock
47690421b6
Added remez and minima tests.
...
Added some mimimal fixes to get the code to compile with Borland-5.8.2, although frankly it's more trouble than it's worth.
[SVN r3200]
2006-09-16 16:41:18 +00:00
John Maddock
6c3c521a3c
More linux fixes: finally got AMD64 machines to behave correctly.
...
[SVN r3186]
2006-09-02 17:56:22 +00:00
John Maddock
84829f74e3
Numerous minor patches to get tests passing on Linux x86 (32-bit) and HP-UX / itanium.
...
[SVN r3183]
2006-09-02 15:05:43 +00:00
Paul A. Bristow
0fe135e268
after JM correction to check_df comfirmed is OK, and added output from test.
...
[SVN r3177]
2006-09-01 13:20:40 +00:00
John Maddock
567dc1bd7d
Updated error checks.
...
Removed dead code from error-handling test.
[SVN r3176]
2006-09-01 09:19:24 +00:00
John Maddock
dc70a06809
Added F distribution.
...
[SVN r3173]
2006-08-31 16:21:17 +00:00
Paul A. Bristow
fb79977d70
Spelling corrections and re-compile & run OK and add output.
...
[SVN r3172]
2006-08-31 15:19:32 +00:00
John Maddock
4636c32fed
Test corner cases and parameter estimator.
...
[SVN r3168]
2006-08-30 15:49:07 +00:00
John Maddock
00a347bee0
Removed remaining old style distribution code (we can get it back from cvs if necessary).
...
Updated error handling.
Added better chi-squared tests.
[SVN r3165]
2006-08-29 16:41:07 +00:00
John Maddock
9a3ade1320
Refactored error handling a little more.
...
Added chi-squared distribution and tests.
[SVN r3164]
2006-08-28 12:52:08 +00:00
John Maddock
9d7123eecf
More or less completed normal/binomial/students-t distributions.
...
Updated docs and tests.
[SVN r3160]
2006-08-25 18:03:48 +00:00
John Maddock
99929b1023
Fixed binomial quantile, added complements, various subtle changes to corner cases, tidied up and removed dead code.
...
Fixed error messages in beta and gamma inverses.
Updated binomial test program, refacted cdf test cases to test cdf, quantile and complements in one hit.
Added accuracy tests for ibeta_inva and ibeta_invb.
Added more docs.
[SVN r3159]
2006-08-20 09:28:27 +00:00
Paul A. Bristow
b95e6b469a
1st test pdf and cdf probably OK, but others not.
...
[SVN r3156]
2006-08-17 17:42:54 +00:00
John Maddock
a147f2aa58
Fixed typo in test result message.
...
Added ibeta inverse tests.
[SVN r3153]
2006-08-16 12:06:10 +00:00
John Maddock
7e902a680e
Added root-2 constant.
...
Fixed complement code so that constructors are used now.
Adjusted pre-formatted parts of tutorial.
Added normal distribution plus tests.
[SVN r3145]
2006-08-14 12:33:49 +00:00
Paul A. Bristow
24b13c2981
Comments & Quieted warnings and added test output
...
[SVN r3144]
2006-08-14 11:39:28 +00:00
Paul A. Bristow
463715c9e4
quieted warmings & added test output.
...
[SVN r3143]
2006-08-14 11:38:17 +00:00
John Maddock
4e98273785
Added upper cap on the number of iterations permitted in series evaluation.
...
Fixed beta function so it's better behaved with very large arguments.
Updated tests.
[SVN r3139]
2006-08-13 17:42:17 +00:00
John Maddock
a436522863
Disable long double tests where not supported.
...
[SVN r3137]
2006-08-12 18:03:54 +00:00
Paul A. Bristow
dab4cd3c29
attempted add a test for t = 0 and varying degrees of freedom - fails for big df >= 1e16.
...
[SVN r3132]
2006-08-12 13:29:38 +00:00
Paul A. Bristow
530d38dd15
quieted C4610 doesn't look helpful. Added copyright JM and a refercen.
...
Also removed a conversion warning with a static cast<RealType>, added output and commited.
[SVN r3128]
2006-08-12 11:06:32 +00:00
Paul A. Bristow
9895ce48e1
Use distributions instead of dist.
...
[SVN r3125]
2006-08-11 10:36:18 +00:00
John Maddock
5c645698c3
Added new style Student's t code and examples.
...
Added tutorial for the new stats code.
[SVN r3121]
2006-08-10 12:53:07 +00:00
John Maddock
2dcc9167e8
Updated inverse gamma tests.
...
Updated inverse gamma code to prevent premature termination of Halley Iteration.
[SVN r3120]
2006-08-10 09:27:19 +00:00
John Maddock
46d9b33645
Tightened up root finding tests.
...
Added docs for roots without derivatives.
Added derivatives of incomplete gamma and beta.
[SVN r3112]
2006-08-01 17:23:10 +00:00
John Maddock
cd90a9f0d4
Updated and documented the new root finding code.
...
[SVN r3111]
2006-07-31 18:05:41 +00:00
John Maddock
eca034bb42
Added tests for gamma_P_inva / gamma_Q_inva.
...
Added docs for new inverses of gamma and beta.
[SVN r3110]
2006-07-31 11:54:46 +00:00
John Maddock
5e67622a7d
Fixed gamma_inva.
...
Added floor and ceil termination conditions to toms748_solve.
Added ibeta_inva and ibeta_invb.
[SVN r3109]
2006-07-27 15:45:17 +00:00
John Maddock
79a8199f9c
Added new root finding algorithm toms748.
...
Tidied up inverse code and moved files to detail directory.
Updated docs and Jamfile.
[SVN r3107]
2006-07-26 13:06:56 +00:00
John Maddock
4ecb968fc7
Begun to refactor and tighten up the tests so that results are actually regression tested as well as printed to screen.
...
Added code for extracting the sign of a number.
Fixed a few bugs and tidied up the code a little in places.
Changed test_result to properly encapsulate it's contents.
[SVN r3106]
2006-07-25 09:17:33 +00:00
John Maddock
e12af6d280
Improved tests, tightened limits, and made sure input values in the gamma tests are exact.
...
[SVN r3100]
2006-07-20 12:59:17 +00:00
Paul A. Bristow
4350382d58
Test seems OK now, including inverse.
...
[SVN r3092]
2006-07-12 16:14:24 +00:00
Paul A. Bristow
7596f7bad9
Update to results are corrected .hpp file error
...
[SVN r3090]
2006-07-11 16:10:45 +00:00
John Maddock
bc87a3747d
Added #pragma's where warnings couldn't be suppressed any other way.
...
Refactored code to suppress warnings where possible.
[SVN r3077]
2006-07-09 17:56:55 +00:00
John Maddock
c9aae0ea7f
Updated to include new test programs.
...
[SVN r3074]
2006-07-09 15:58:53 +00:00
Paul A. Bristow
721da6e645
possibly correct tests.
...
[SVN r3070]
2006-07-06 15:15:53 +00:00
Paul A. Bristow
ed2cd482b3
Passes some tests, but others needed?.
...
[SVN r3068]
2006-07-06 09:59:11 +00:00
Paul A. Bristow
a46ac4c5aa
disabled warnings in test and added output.
...
[SVN r3067]
2006-07-06 09:57:43 +00:00
Paul A. Bristow
4f1eb3f8d2
test for argument promotions promotions.hpp
...
[SVN r3058]
2006-07-04 17:40:50 +00:00
Paul A. Bristow
7e823381c1
Removed two argument error calls. Added output from test.
...
[SVN r3056]
2006-07-04 17:19:51 +00:00
Paul A. Bristow
a00f098f63
fiddling with tolerance and inverse tests added.
...
[SVN r3049]
2006-07-03 08:55:09 +00:00
Paul A. Bristow
d76f039c46
test for inverse added, more needed?
...
[SVN r3048]
2006-07-03 08:52:50 +00:00
Paul A. Bristow
8f83f9525e
more chisqr tests, including possible bad arguments.
...
[SVN r3047]
2006-07-03 08:50:32 +00:00