2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-29 19:52:08 +00:00
Commit Graph

214 Commits

Author SHA1 Message Date
Paul A. Bristow
a7f162346d Corrections to kurtosis.
[SVN r3525]
2006-12-13 19:03:22 +00:00
John Maddock
d7653488e8 Added needed parenthesis.
[SVN r3524]
2006-12-13 17:48:40 +00:00
John Maddock
c6f65d5ad3 Big initial commit of the Polynomial and associated functions from TR1.
[SVN r3522]
2006-12-12 17:25:29 +00:00
Paul A. Bristow
7d4795a44d Layout improvements
[SVN r3520]
2006-12-12 10:28:57 +00:00
Paul A. Bristow
a0baf23d99 infinite x removed.
[SVN r3518]
2006-12-12 10:05:12 +00:00
Paul A. Bristow
c47170b91b infinity removed.
[SVN r3516]
2006-12-12 09:46:24 +00:00
Paul A. Bristow
b274b9b464 changed to disallow lower == upper and more tests. infinite a, b, and x still allowed.
[SVN r3514]
2006-12-11 14:35:04 +00:00
Paul A. Bristow
cf6f16d4be 1st cut but questions on infinity?
[SVN r3510]
2006-12-10 18:44:29 +00:00
Paul A. Bristow
9e9da20092 Changed to more accurate kurtosis realType(-6)/5 but still problem with infinity.
[SVN r3504]
2006-12-06 18:06:26 +00:00
Paul A. Bristow
8f8065eb43 warning 4130) // '==' : logical operation on address of string constant. suppressed.
[SVN r3503]
2006-12-06 14:13:19 +00:00
Paul A. Bristow
bc9d1cfec0 Changed to more accurate kurtosis realType(-6)/5 but still problem with infinity.
[SVN r3501]
2006-12-06 09:47:27 +00:00
Paul A. Bristow
f878c291d9 1st cut
[SVN r3495]
2006-12-04 17:54:35 +00:00
John Maddock
306748dcee Small fixes to beta and beta distribution.
Brought docs into line.


[SVN r3487]
2006-12-02 19:21:13 +00:00
John Maddock
4358aba0ee Finished off binomial and neg binomial docs (hopefully).
Renamed param estimators for (negative) binomial sample sizes.
Tweaked root finding algorithms.
Tweaked ibeta inverse.


[SVN r3483]
2006-11-30 18:26:30 +00:00
John Maddock
ccfb864daf Added Jeffreys prior method to the binomial confidence limits.
Fixed a few typos in the neg binomial.


[SVN r3482]
2006-11-30 10:47:26 +00:00
John Maddock
1002d7d090 Minor coments/changes to code.
Proof reading changes to docs, mostly rewritten neg binomial worked example.
Removed dead test.


[SVN r3473]
2006-11-28 14:12:26 +00:00
John Maddock
475d4a0280 Misc small fixes and warning suppressions.
[SVN r3472]
2006-11-28 10:54:09 +00:00
Paul A. Bristow
69ecd8d2a0 Boundary values for quantile corrected and tests added but still don't deal with infinity well. TODO still.
[SVN r3469]
2006-11-27 19:02:37 +00:00
Paul A. Bristow
2fdd390169 Promotion no longer relevant so removed..
[SVN r3468]
2006-11-27 15:40:28 +00:00
John Maddock
ed1b8ae751 Finally got the parameter estimators right, and checked against "known goods".
Misc small fixes to the docs and example programs.


[SVN r3462]
2006-11-26 09:03:49 +00:00
John Maddock
7fc815029e Fixed up neg binomial estimators.
Enabled neg binomial tests and adjusted arguments.
Added extra comment to binomial.


[SVN r3460]
2006-11-24 19:14:32 +00:00
John Maddock
d15bf712e5 Fixed binomial estimators and added stronger tests.
Typos in concepts.
Enabled native log1pl on more platforms.
Fixed binomial example.
Added image.


[SVN r3459]
2006-11-24 18:54:52 +00:00
Paul A. Bristow
867dd1d8e6 added code for special case prob < cdf(0) for quantile and complement.
[SVN r3458]
2006-11-24 17:53:10 +00:00
Paul A. Bristow
4a6cd24f9c suppressed error 4702 unreachable code.
[SVN r3451]
2006-11-24 12:23:32 +00:00
Paul A. Bristow
48b5f13838 if (p <= pow(1 - dist.success_fraction(), dist.trials()))
{ // p <= pdf(dist, 0) == cdf(dist, 0)
   return 0; // So the only reasonable result is zero.
} // And root finder would fail otherwise.
Added, and similarly for complement


[SVN r3445]
2006-11-23 17:46:15 +00:00
John Maddock
78244650dc More fixes to precision.hpp
More or less finished concept docs.
Lots of proof-reading and editorial fixes.


[SVN r3440]
2006-11-22 18:48:28 +00:00
Paul A. Bristow
24af492a2d Correction to estimate parameters.
[SVN r3437]
2006-11-22 18:28:23 +00:00
Paul A. Bristow
1192252ba9 Correced typos and added <16834> size for 80 and 128 bit
[SVN r3436]
2006-11-22 16:48:52 +00:00
John Maddock
12984831f0 More concept docs, updated code to match.
[SVN r3423]
2006-11-21 13:19:08 +00:00
John Maddock
b89f35783e More editorial and proof reading fixes.
Added initial draft of Remez background information.


[SVN r3414]
2006-11-19 18:29:06 +00:00
Paul A. Bristow
a6b95e985f Some corrections but still not right.
[SVN r3409]
2006-11-16 12:46:45 +00:00
Paul A. Bristow
7cd4885c79 Nano optimisation of skewness.
[SVN r3398]
2006-11-15 12:43:32 +00:00
Paul A. Bristow
3242af54a7 Minor revisions
[SVN r3389]
2006-11-14 15:40:12 +00:00
Paul A. Bristow
8452c720ba conditional expression is constant warning 4127 suppressed. (produced 4 pages of messages!)
[SVN r3384]
2006-11-14 11:48:19 +00:00
Paul A. Bristow
f84fef66c8 More tests including test_spot and handful of spot values.
[SVN r3362]
2006-11-09 17:33:17 +00:00
John Maddock
3ea5308b45 Fixed problem with chi-squared sample size estimator.
Updated test program accordingly.
Added chi-square tutorial code.


[SVN r3360]
2006-11-08 17:14:39 +00:00
Paul A. Bristow
32be9aa3f3 corrected quantile to use ibeta_inv. test_spot still todo. & parameter estimate??
[SVN r3358]
2006-11-08 15:27:01 +00:00
Paul A. Bristow
a4c6015e0b 1st cut with a few simple tests for double only.
[SVN r3354]
2006-11-07 12:21:22 +00:00
Paul A. Bristow
24d36b78f6 Spelling correction, and comments copied to concepts.qbk.
[SVN r3352]
2006-11-07 09:35:58 +00:00
John Maddock
9e41ae39b4 Minor fixes for gcc in poisson.hpp
Tidied up fraction.hpp.
Updated linux acceptable error rates.


[SVN r3346]
2006-11-04 18:28:24 +00:00
Paul A. Bristow
d9d5f2b21e tests revised to try to cover failures in 80 and 128 bit FP cases. Added throw checks
[SVN r3345]
2006-11-04 10:55:12 +00:00
John Maddock
feacc055d3 Added gamma distribution and tests.
Fixed a lot of gcc-linux issues: mostly missing "using namespace std" declarations.
Added new concept check to test for these kinds of failures at compile time.


[SVN r3344]
2006-11-03 18:42:23 +00:00
Paul A. Bristow
041d476768 Removed median. Allowed hazard & chf to be provided by derived accessors, and removed any mention of std::numeric_limits<T>::quiet_NaN()
[SVN r3343]
2006-11-03 15:04:38 +00:00
John Maddock
8441e358fb Rewritten tgamma1pm1 in terms of lgamma rational approximations: now more efficient and more accurate!
Minor patch to exponential distribution tests.
Removed dead code from Remez app.


[SVN r3331]
2006-10-31 10:50:11 +00:00
John Maddock
7d003a280f Fix typo and regressions.
[SVN r3330]
2006-10-31 10:48:26 +00:00
John Maddock
2132f92495 Changed tgamma to use factorial lookup where applicable.
Updated docs accordingly and added new docs for the new factorial and binomial functions.


[SVN r3327]
2006-10-28 16:30:39 +00:00
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