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
John Maddock
3ce59eaed5
Fixed gcc errors (duplicate definitions of default parameters).
...
[SVN r3135]
2006-08-12 18:00:54 +00:00
Paul A. Bristow
fec4b853a1
*** empty log message ***
...
[SVN r3131]
2006-08-12 13:28:12 +00:00
Paul A. Bristow
50ad897d31
Removed - to be replaced by version in \distributions
...
[SVN r3130]
2006-08-12 11:13:59 +00:00
Paul A. Bristow
d34cdb4311
Replaced by version in \distributions.
...
[SVN r3129]
2006-08-12 11:11:08 +00:00
Paul A. Bristow
9895ce48e1
Use distributions instead of dist.
...
[SVN r3125]
2006-08-11 10:36:18 +00:00
Paul A. Bristow
59a3e0b48f
Moved to distributions folder.
...
[SVN r3124]
2006-08-11 10:33:53 +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
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
94ebae476a
Updated generic erf version so it doesn't call the incomplete gamma directly.
...
Refactored the incomplete gamma, improved the changeover between P and Q, added two new finite-sum expansions for integer and half integer arguments.
Improved error handing in the inverse gamma.
[SVN r3099]
2006-07-20 12:58:29 +00:00
Paul A. Bristow
162f416732
Looks nearer to correct now with test and example1.
...
[SVN r3091]
2006-07-12 16:13:11 +00:00
Paul A. Bristow
e06f1fa83b
Corrected missing k+1
...
[SVN r3089]
2006-07-11 16:09:04 +00:00
Paul A. Bristow
305ca1f705
comments etc PAB
...
[SVN r3088]
2006-07-11 14:17:49 +00:00
Paul A. Bristow
8417d24efd
comment lexical cast fqult added
...
[SVN r3087]
2006-07-11 14:16:50 +00:00
Paul A. Bristow
58d4299525
Another unused parameter conveted to /* l */
...
[SVN r3086]
2006-07-11 14:15:42 +00:00
John Maddock
45fce41aa2
Warning suppression.
...
[SVN r3085]
2006-07-11 12:30:40 +00:00
John Maddock
cda4c449a9
Crush a couple more warnings.
...
[SVN r3084]
2006-07-11 12:27:48 +00:00
Paul A. Bristow
11bb475338
More comments, still not tested much.
...
[SVN r3082]
2006-07-10 17:41:53 +00:00
John Maddock
86c65d8c9f
Add using declaration so that std::fabs is actually found.
...
[SVN r3081]
2006-07-10 16:25:06 +00:00
John Maddock
31fbe1eaeb
Added needed math_fwd.hpp includes were needed, cleaned up code, and generally got things compiling with gcc.
...
[SVN r3080]
2006-07-10 15:30:36 +00:00
Paul A. Bristow
6307ffc6d3
tested by PAB at 8 July - links and runs OK
...
[SVN r3078]
2006-07-09 18:33:33 +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
f7961cdc6d
Added missing inline specifiers.
...
[SVN r3076]
2006-07-09 17:54:06 +00:00
Paul A. Bristow
ea8e3cf385
1st commit - some tests OK?
...
[SVN r3072]
2006-07-06 15:19:30 +00:00
Paul A. Bristow
a5603dc093
not sure why changed - comments?
...
[SVN r3071]
2006-07-06 15:18:19 +00:00
Paul A. Bristow
c9afe467ac
Seems sane?
...
[SVN r3069]
2006-07-06 10:00:35 +00:00
Paul A. Bristow
a78a218dd6
REMOVED two argument domain_error, etc functions. Several calls changed but May still be 2 arg calls in code that will fail to compile now.
...
[SVN r3059]
2006-07-04 17:43:22 +00:00
Paul A. Bristow
866fb8fb17
argument promotion (needed by math function forward declarations math_fwd.hpp)
...
See also test_promotions.cpp
[SVN r3057]
2006-07-04 17:39:30 +00:00
Paul A. Bristow
da4f485ceb
Update to match math_fwd.hpp OK with test_function_declarations.cpp
...
[SVN r3055]
2006-07-04 17:17:40 +00:00
Paul A. Bristow
1d0576a788
cosmetic only. TODO add #include math_fwd.hpp
...
[SVN r3050]
2006-07-03 15:50:58 +00:00
John Maddock
9b6fd61a8f
Fixed VC warnings.
...
Added needed includes.
[SVN r3036]
2006-06-27 16:34:16 +00:00
Paul A. Bristow
f6b8971322
updated to use JM promoted arguments
...
[SVN r3034]
2006-06-27 09:45:59 +00:00
Paul A. Bristow
a2d122db66
Updated with JM promoted arguments
...
[SVN r3033]
2006-06-27 09:45:59 +00:00
John Maddock
6b0825841d
Updated code to use the new 3-arg domain_error and pole_error functions.
...
[SVN r3030]
2006-06-24 17:41:23 +00:00
John Maddock
b2c1ef342f
Added abs to real_concept.
...
Added logic_error to error handling code.
[SVN r3029]
2006-06-24 15:50:52 +00:00
John Maddock
6910a75524
Reorganised and refactored limits and constants code.
...
[SVN r3028]
2006-06-24 12:00:53 +00:00
Paul A. Bristow
818cfd0bbf
Improved error messages and try at warning and constraining probability outside 0 to 1
...
[SVN r3027]
2006-06-23 18:30:40 +00:00
John Maddock
fa6e01c6ee
Fix typos.
...
[SVN r3024]
2006-06-23 09:41:26 +00:00
John Maddock
3519ff8b03
Update digits10 formula used.
...
[SVN r3023]
2006-06-23 09:36:09 +00:00
John Maddock
3fc272db77
Fixed factorial code, so it is now fully tested.
...
Added static asserts to ensure data tables in BGRAT don't exceed the number of factorials available.
[SVN r3021]
2006-06-22 18:19:42 +00:00
John Maddock
0de45f85d1
Cleaned up BGRAT table size.
...
Fixed typos in factorials.hpp.
Added needed using declarations in gamma ratios.
Cygwin fix for test.hpp.
[SVN r3017]
2006-06-22 15:57:23 +00:00
Paul A. Bristow
57dafe1629
1st commit PAB
...
[SVN r3010]
2006-06-21 16:58:28 +00:00
John Maddock
e53697d039
Changed precision handling to set to full precision before formatting error message.
...
[SVN r3009]
2006-06-21 16:30:34 +00:00