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

239 Commits

Author SHA1 Message Date
John Maddock
27f5e4d59e Updated hypot with simpler formula.
Added sinh and cosh to ntl.hpp.
Fixed FreeBSD test failures (no real long long support).


[SVN r3598]
2007-01-04 16:20:49 +00:00
John Maddock
2e94601868 Conceptual updates for hypot.
regig config setup.


[SVN r3597]
2007-01-03 19:05:10 +00:00
Paul A. Bristow
95d7be4127 Added more constants (see also test_constants)
[SVN r3594]
2007-01-03 17:36:40 +00:00
Paul A. Bristow
a61d8016a4 Correctee kurtosis and made k neither 0 nor 1 an error.
[SVN r3593]
2007-01-03 15:30:47 +00:00
John Maddock
d3bc78cdac Fix linker errors from concept test.
Update credits.


[SVN r3592]
2007-01-02 11:15:16 +00:00
John Maddock
47d6f40306 Update hypot and docs.
[SVN r3590]
2007-01-01 16:30:52 +00:00
John Maddock
b1f54f9fe2 Updated concept checks, fixed resulting errors.
[SVN r3589]
2007-01-01 13:58:49 +00:00
Paul A. Bristow
27786145ea added comments(?)
[SVN r3579]
2006-12-30 10:59:59 +00:00
Paul A. Bristow
5867c943c1 1st commit, tests OK
[SVN r3578]
2006-12-30 10:58:19 +00:00
John Maddock
22dce1381e Integrated existing Boost.Math special functions, updated them to meet our conceptual requirements, and use our error handlers.
Lots of warning suppression changes.
Added new tests to verify header includes (plus fixes where these new tests failed!).
Documentation updates.


[SVN r3575]
2006-12-29 18:27:29 +00:00
John Maddock
bb1fbff202 Misc updates and fixes to the code, including a re-ordering of parameters to ensure TR1 compatibility.
Updated test data.
Ellint docs added.


[SVN r3573]
2006-12-28 11:04:39 +00:00
John Maddock
1b86b19af6 Changed gamma_P/gamma_Q to gamma_p/gamma_q.
[SVN r3570]
2006-12-23 17:28:30 +00:00
John Maddock
9cb3ddd158 Added concept checks for new functions.
Fixed compiler errors.


[SVN r3560]
2006-12-23 10:38:06 +00:00
John Maddock
eec6aaf0a0 Fixed distributions so new accessors actually compile!
Added elliptic integrals plus tests (no docs yet).
Added some refs to Remez docs. Added comment about Erlang=gamma distribution.


[SVN r3559]
2006-12-23 10:30:16 +00:00
Paul A. Bristow
3cd72e6865 Corrected using std::pair mistake.
[SVN r3557]
2006-12-22 13:04:30 +00:00
John Maddock
de9322f427 Added needed using declaration
[SVN r3555]
2006-12-22 10:06:37 +00:00
Paul A. Bristow
57963398de Added range and support to distributions.
[SVN r3551]
2006-12-21 17:39:22 +00:00
Paul A. Bristow
4302268541 Commented out the undefined median to allow derived accessor to rpovide quantile(half).
[SVN r3549]
2006-12-21 13:11:22 +00:00
Paul A. Bristow
8dcd29185e Layout & comments.
[SVN r3547]
2006-12-20 18:59:08 +00:00
Paul A. Bristow
ca818226af ? changed
[SVN r3546]
2006-12-20 18:58:04 +00:00
Paul A. Bristow
222836bded added ln2 etc
[SVN r3545]
2006-12-20 18:54:26 +00:00
Paul A. Bristow
570d5bdf5f added median as quantile(half)
[SVN r3539]
2006-12-20 15:31:13 +00:00
Paul A. Bristow
7b6fe3921a added median to all distributions.
[SVN r3538]
2006-12-20 15:29:43 +00:00
John Maddock
10ec229b15 Added missing inline specifiers.
[SVN r3533]
2006-12-18 11:04:37 +00:00
Paul A. Bristow
3362331ddc Corrections to kurtosis.
[SVN r3526]
2006-12-13 19:13:11 +00:00
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