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
Paul A. Bristow
0ef909cbb5
Comments and added real_cast s to int unsigned int and long.
...
[SVN r3227]
2006-09-30 18:02:01 +00:00
Paul A. Bristow
0672bcb1a1
Comments & cosmetic.
...
[SVN r3226]
2006-09-29 16:22:28 +00:00
Paul A. Bristow
7b9e7a922d
warning suppression for MSVC using push 'n' pop.
...
[SVN r3225]
2006-09-29 14:39:34 +00:00
Paul A. Bristow
19d0f37013
comment on non-integer k and discrete distributions.
...
[SVN r3224]
2006-09-29 14:13:28 +00:00
Paul A. Bristow
dbacc2276e
trivia.
...
[SVN r3223]
2006-09-29 14:12:10 +00:00
John Maddock
0275810ec6
Updated fpclassify code to optimise isnan.
...
Removed reference to interval lib.
[SVN r3220]
2006-09-27 11:41:06 +00:00
John Maddock
11c1946e1e
Fix minor bug in test_data.hpp.
...
Updated docs with minima and minimax docs.
Also reorganised to separate out the more experimental components.
[SVN r3218]
2006-09-26 18:24:13 +00:00
John Maddock
1335a727f6
Bug fix.
...
[SVN r3216]
2006-09-24 09:23:33 +00:00
John Maddock
b9e4fd1418
Updated old code to use compile-time polynomial size detection.
...
Fixed template deductiojn bug in evaluate_rational.
Updated lanczos generation to match.
[SVN r3215]
2006-09-24 09:23:09 +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
Paul A. Bristow
153e797b74
Commented out variable name to avoid C4100 unref parameter, and comment on its use to select Lanczos.
...
[SVN r3213]
2006-09-22 11:33:23 +00:00
John Maddock
5fff71d70c
Fix to get new code compiling with Borland.
...
[SVN r3212]
2006-09-22 09:43:52 +00:00
John Maddock
306c96a5e1
Adjusted limits.
...
[SVN r3211]
2006-09-22 09:29:19 +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
379e6a5e07
Oops, fix bug.
...
[SVN r3203]
2006-09-16 18:29:39 +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
6ee3cba62b
Added Remez minimax code.
...
[SVN r3197]
2006-09-15 16:18:07 +00:00
John Maddock
6a9623c9b2
Added missing inline specifiers: we get duplicate symbol errors without them!
...
[SVN r3195]
2006-09-15 16:10:21 +00:00
John Maddock
e9b217437e
Added rational approximations for lgamma and small arguments: greatly reduced errors near the roots of lgamma.
...
[SVN r3194]
2006-09-15 16:09:12 +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
John Maddock
567dc1bd7d
Updated error checks.
...
Removed dead code from error-handling test.
[SVN r3176]
2006-09-01 09:19:24 +00:00
Paul A. Bristow
aa5fca355c
added newline at end of last line #endif // BOOST_MATH_DISTRIBUTIONS_CHI_SQUARED_HPP
...
to avoid fatal compile error.
Noted failure to throw 12 expected exceptions - will investigate why.
[SVN r3175]
2006-08-31 17:41:19 +00:00
Paul A. Bristow
5577b49a33
Spelling and a few comments & refs.
...
[SVN r3174]
2006-08-31 16:56:28 +00:00
John Maddock
dc70a06809
Added F distribution.
...
[SVN r3173]
2006-08-31 16:21:17 +00:00
Paul A. Bristow
3f5d624b05
Comment added about big df and df = +infinity needing normal distribution.
...
[SVN r3171]
2006-08-31 14:32:05 +00:00
John Maddock
a151830ed4
Fixed corner cases.
...
Implemented parameter estimator.
[SVN r3167]
2006-08-30 15:48:21 +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
fa86c0c490
Updated docs.
...
Rewritten students-t parameter estimator.
Added binomial examples.
[SVN r3162]
2006-08-26 18:33:46 +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
John Maddock
0d03447123
Added overflow check.
...
[SVN r3157]
2006-08-18 09:39:30 +00:00
Paul A. Bristow
a23806eb61
1st draft - pdf and cdf probably OK, but quantile etc are not.
...
[SVN r3155]
2006-08-17 17:40:55 +00:00
John Maddock
d40fa2fb99
Changed students-t quantile to be free from cancellation error.
...
Added ibeta_inv overloads that return both x and y.
Updated docs to match.
[SVN r3154]
2006-08-16 17:33:24 +00:00
John Maddock
ef43e16e47
Adjusted termination conditions to cope with very large first derivatives in some regions.
...
[SVN r3152]
2006-08-16 12:05:08 +00:00
John Maddock
f965af9da3
Updated incomplete beta code to calculate power terms in a more reliable way. Added explanatory comments describing what's going on.
...
[SVN r3151]
2006-08-16 11:40:38 +00:00
Paul A. Bristow
d66b96d4d6
Added #include <boost/cstdint.hpp> for uintmax_t
...
[SVN r3150]
2006-08-16 11:40:11 +00:00
John Maddock
2befb07120
Adjusted limits to avoid asserts.
...
[SVN r3149]
2006-08-16 11:39:11 +00:00
John Maddock
a7c3186b5a
Added fix for cdf when degrees of freedom parameter is large.
...
[SVN r3148]
2006-08-16 11:38:07 +00:00
John Maddock
4ff84d85ab
Added sample programs that generate test data for incomplete beta and gamma inverses.
...
Added asin to ntl.hpp: needed for incomplete beta inverse.
Fixed limits on table size in the incomplete beta.
[SVN r3146]
2006-08-14 17:29:59 +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
eacc0ceb7c
quieted warnings on unreachable code..
...
[SVN r3142]
2006-08-14 11:36:38 +00:00
Paul A. Bristow
c6e4a1aabc
Quieted warning unreachable code.
...
[SVN r3141]
2006-08-14 11:35:20 +00:00
Paul A. Bristow
ee24bfd3ee
comments and quieted of warnings unreachable code.
...
[SVN r3140]
2006-08-14 11:34:15 +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
Paul A. Bristow
8cc9b6d50d
commented out distributions now obselete. Need to redo all these with the distribution classes.
...
[SVN r3138]
2006-08-13 11:39:58 +00:00