John Maddock
bcbb6f3ca9
Added double_factorial plus rising and falling factorials and binomial coefficients.
...
Added new tests for the above.
Refactored factorials header.
Optimised tgamma_delta_ratio for integer arguments.
[SVN r3326]
2006-10-28 13:00:10 +00:00
Paul A. Bristow
da6a644de8
Minor comments edits, for more tests OK with builint float double but fail neg binomial for real concept.
...
[SVN r3324]
2006-10-26 13:12:20 +00:00
John Maddock
82548699a5
Improved and generally tidied up sqrt1pm1 and powm1.
...
Renamed sqrtp1m1 as sqrt1pm1 to match log1p etc.
Added docs for misc power functions, plus weibull distribution.
Updated tests to match the above changes.
[SVN r3321]
2006-10-26 11:51:59 +00:00
John Maddock
527bf0d227
Updated erf implementation selection logic.
...
Provided rational expansions for expm1.
Provided faster form for log1p.
Updated remez minimax code.
[SVN r3319]
2006-10-25 18:10:13 +00:00
John Maddock
9b16307ae7
Fixed a bug in incomplete gamma, and refactored and refined internal selection logic.
...
Added tests for incomplete gamma for int and half int arguments.
[SVN r3312]
2006-10-25 10:19:34 +00:00
John Maddock
24066f892f
Updated to call overflow_error when the result is infinite.
...
[SVN r3311]
2006-10-25 09:38:24 +00:00
John Maddock
2f964f6ef6
Added finite sum to incomplete beta, plus tests and docs.
...
Linked in lognormal docs.
[SVN r3310]
2006-10-25 09:03:04 +00:00
Paul A. Bristow
76f2122bad
Comments.
...
[SVN r3309]
2006-10-24 18:05:48 +00:00
Paul A. Bristow
84bdaaa6ee
Comments and checks that no return of infinity that should call overflow_error.
...
[SVN r3308]
2006-10-24 17:58:30 +00:00
Paul A. Bristow
25570182cb
Tests now pass, but more tests to do still.
...
[SVN r3307]
2006-10-24 17:47:40 +00:00
Paul A. Bristow
504e9da847
Layout & comments only.
...
[SVN r3303]
2006-10-24 09:36:36 +00:00
John Maddock
7a0ac09ba8
Misc fixes and better error handling and special case treatment.
...
[SVN r3300]
2006-10-23 12:55:19 +00:00
Paul A. Bristow
0a4dfe1bc5
complement and derived accessors still TODO
...
[SVN r3299]
2006-10-23 12:01:03 +00:00
Paul A. Bristow
0af1942639
Added complement.hpp and expm1 to get it compile, but fails tests as yet.
...
[SVN r3297]
2006-10-23 11:39:43 +00:00
Paul A. Bristow
d29c25757c
Added some checks for scale and prob. But fails tests.
...
[SVN r3292]
2006-10-23 10:09:57 +00:00
Paul A. Bristow
c7c1e86552
Several "return static_cast<V>( ... )" added to avoid warning C4244 conversion from 'const double' to 'float'.
...
Not all tested by test_chi_squared usage :-( so a mistake might cause compile failures elsewhere?
[SVN r3283]
2006-10-22 16:05:07 +00:00
Paul A. Bristow
ecd6a66fee
Added default RealType double (except binomial - where commented out).
...
(Changes to test in binomial reflect this, others in progress).
[SVN r3278]
2006-10-21 18:34:13 +00:00
Paul A. Bristow
860e361ef7
default Real type double
...
[SVN r3277]
2006-10-21 18:07:46 +00:00
John Maddock
b6529add8a
Added preliminary lognormal and weibull implementations.
...
Updated common error handling.
Added more test values.
[SVN r3265]
2006-10-18 15:18:15 +00:00
Paul A. Bristow
c4de333200
JM's best so far optimisation.
...
[SVN r3263]
2006-10-17 09:08:47 +00:00
Paul A. Bristow
6bdc0ec840
Notes & comments only.
...
[SVN r3261]
2006-10-17 09:06:18 +00:00
John Maddock
09f5ff738f
Brought distributions into the same conceptual line and updated tests accordingly.
...
[SVN r3256]
2006-10-15 17:57:02 +00:00
Paul A. Bristow
a9cfe8beec
corrections and improvements (hopefully) to pdf.
...
Quantile and complement handle mean = 0 case ith domain error.
[SVN r3254]
2006-10-15 15:35:11 +00:00
John Maddock
1555938251
Added scale and location parameters to Cauchy.
...
[SVN r3253]
2006-10-14 18:03:03 +00:00
John Maddock
5f5d873826
Added concept checks and concept archetypes.
...
Uprated tests and distributions to match concept requirements.
[SVN r3251]
2006-10-13 17:37:27 +00:00
John Maddock
4edc3d19a1
Added cauchy, exponential, and extreme value distributions.
...
Updated style sheet.
[SVN r3250]
2006-10-12 17:28:09 +00:00
Paul A. Bristow
0010c8c1c6
misc trivia, spelling refs, punctation.
...
[SVN r3248]
2006-10-10 15:34:15 +00:00
Paul A. Bristow
5eb7b02d56
1st version of Poisson as distribution. parameter estimation missing?
...
[SVN r3246]
2006-10-10 15:25:18 +00:00
John Maddock
d988a98c59
Added new asymptotic expansion for incomplete gamma functions P(a,x) and Q(a,x), used for large a, and a ~ x.
...
[SVN r3239]
2006-10-06 14:52:53 +00:00
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