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
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
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
33783a0295
Updated list of tests.
...
[SVN r3202]
2006-09-16 18:29:12 +00:00
John Maddock
70f321faf7
Typo fix.
...
[SVN r3201]
2006-09-16 16:42:57 +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
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
Paul A. Bristow
0fe135e268
after JM correction to check_df comfirmed is OK, and added output from test.
...
[SVN r3177]
2006-09-01 13:20:40 +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
John Maddock
dc70a06809
Added F distribution.
...
[SVN r3173]
2006-08-31 16:21:17 +00:00
Paul A. Bristow
fb79977d70
Spelling corrections and re-compile & run OK and add output.
...
[SVN r3172]
2006-08-31 15:19:32 +00:00
John Maddock
4636c32fed
Test corner cases and parameter estimator.
...
[SVN r3168]
2006-08-30 15:49:07 +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
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
Paul A. Bristow
b95e6b469a
1st test pdf and cdf probably OK, but others not.
...
[SVN r3156]
2006-08-17 17:42:54 +00:00
John Maddock
a147f2aa58
Fixed typo in test result message.
...
Added ibeta inverse tests.
[SVN r3153]
2006-08-16 12:06:10 +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
24b13c2981
Comments & Quieted warnings and added test output
...
[SVN r3144]
2006-08-14 11:39:28 +00:00
Paul A. Bristow
463715c9e4
quieted warmings & added test output.
...
[SVN r3143]
2006-08-14 11:38:17 +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
John Maddock
a436522863
Disable long double tests where not supported.
...
[SVN r3137]
2006-08-12 18:03:54 +00:00
Paul A. Bristow
dab4cd3c29
attempted add a test for t = 0 and varying degrees of freedom - fails for big df >= 1e16.
...
[SVN r3132]
2006-08-12 13:29:38 +00:00
Paul A. Bristow
530d38dd15
quieted C4610 doesn't look helpful. Added copyright JM and a refercen.
...
Also removed a conversion warning with a static cast<RealType>, added output and commited.
[SVN r3128]
2006-08-12 11:06:32 +00:00
Paul A. Bristow
9895ce48e1
Use distributions instead of dist.
...
[SVN r3125]
2006-08-11 10:36:18 +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
eca034bb42
Added tests for gamma_P_inva / gamma_Q_inva.
...
Added docs for new inverses of gamma and beta.
[SVN r3110]
2006-07-31 11:54:46 +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
e12af6d280
Improved tests, tightened limits, and made sure input values in the gamma tests are exact.
...
[SVN r3100]
2006-07-20 12:59:17 +00:00
John Maddock
2760d7ad0d
Added missing license info.
...
[SVN r34558]
2006-07-16 16:01:25 +00:00
Paul A. Bristow
4350382d58
Test seems OK now, including inverse.
...
[SVN r3092]
2006-07-12 16:14:24 +00:00
Paul A. Bristow
7596f7bad9
Update to results are corrected .hpp file error
...
[SVN r3090]
2006-07-11 16:10:45 +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
c9aae0ea7f
Updated to include new test programs.
...
[SVN r3074]
2006-07-09 15:58:53 +00:00
Paul A. Bristow
721da6e645
possibly correct tests.
...
[SVN r3070]
2006-07-06 15:15:53 +00:00
Paul A. Bristow
ed2cd482b3
Passes some tests, but others needed?.
...
[SVN r3068]
2006-07-06 09:59:11 +00:00
Paul A. Bristow
a46ac4c5aa
disabled warnings in test and added output.
...
[SVN r3067]
2006-07-06 09:57:43 +00:00
Paul A. Bristow
4f1eb3f8d2
test for argument promotions promotions.hpp
...
[SVN r3058]
2006-07-04 17:40:50 +00:00
Paul A. Bristow
7e823381c1
Removed two argument error calls. Added output from test.
...
[SVN r3056]
2006-07-04 17:19:51 +00:00
Paul A. Bristow
a00f098f63
fiddling with tolerance and inverse tests added.
...
[SVN r3049]
2006-07-03 08:55:09 +00:00
Paul A. Bristow
d76f039c46
test for inverse added, more needed?
...
[SVN r3048]
2006-07-03 08:52:50 +00:00
Paul A. Bristow
8f83f9525e
more chisqr tests, including possible bad arguments.
...
[SVN r3047]
2006-07-03 08:50:32 +00:00
John Maddock
107b88abb4
Added tests to print out error messages as well as verify that the exception is thrown.
...
[SVN r3037]
2006-06-27 17:02:44 +00:00
Paul A. Bristow
dc28202d2d
updated to use argument promoted versions. PAB 27 Jun 2006
...
[SVN r3035]
2006-06-27 09:48:29 +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
4ad9aeccb1
Demo of improved error handling, but PAB doesn't understand exception handling;-)
...
[SVN r3026]
2006-06-23 18:29:18 +00:00
Paul A. Bristow
3d7552f387
PAB Mods to test JM's improved error message system.
...
[SVN r3025]
2006-06-23 18:24:33 +00:00
John Maddock
493406e734
Added factorial docs and tests.
...
[SVN r3020]
2006-06-22 18:18:23 +00:00
Paul A. Bristow
d65be814d5
*** empty log message ***
...
[SVN r3019]
2006-06-22 17:02:07 +00:00
John Maddock
4341334b2b
Updated accuracy in docs.
...
Fixed test_fisher so it's gcc compatible (real_concept.hpp has to come first).
[SVN r3018]
2006-06-22 15:59:01 +00:00
Paul A. Bristow
57dafe1629
1st commit PAB
...
[SVN r3010]
2006-06-21 16:58:28 +00:00
Paul A. Bristow
e148678168
1st commit
...
[SVN r3007]
2006-06-21 11:53:31 +00:00
Paul A. Bristow
cc365b288a
*** empty log message ***
...
[SVN r3001]
2006-06-20 14:20:30 +00:00
Paul A. Bristow
b0208fda62
comment on using namespace std and pow.
...
added std::precision(4) to make clear this is NOT the reason for the using namespace std.
[SVN r2996]
2006-06-19 09:23:35 +00:00
Paul A. Bristow
fbc1c85949
1st commit PAB 18 Jun 2006
...
[SVN r2995]
2006-06-19 09:10:03 +00:00
Paul A. Bristow
d9de66ee38
Added explanatory comment. PAB
...
[SVN r2994]
2006-06-19 09:02:56 +00:00
John Maddock
9c044882bb
More or less finished beta inverse and gamma inverse plus misc warning suppression and added missing docs.
...
[SVN r2987]
2006-06-14 13:59:25 +00:00
John Maddock
311dc1c8e8
Fix typos.
...
[SVN r2974]
2006-06-10 12:42:19 +00:00
John Maddock
c3611d0c6b
Added factorials and gamma function ratios.
...
Updated incomplete beta with BGRAT routine from Didonato and Morris.
Added even and odd polynomials.
Lots of small tweeks.
[SVN r2972]
2006-06-08 16:08:05 +00:00
John Maddock
6af9ca971b
Minor doc update (for error handling).
...
Minor test updates (ibeta inverses).
[SVN r2964]
2006-05-30 18:01:10 +00:00
John Maddock
586cb50312
Added some proper error handling.
...
Got the incomplete beta inverse working better (Temme's expansions).
[SVN r2962]
2006-05-26 16:42:50 +00:00
John Maddock
aa2c565d12
Initial commit.
...
[SVN r2955]
2006-05-21 15:45:37 +00:00
John Maddock
1e23b979c4
Don't test infinities with Tru64 cxx unless compiling with -ieee option.
...
[SVN r33232]
2006-03-06 11:20:31 +00:00
John Maddock
9cc1f11f7d
Added Borland fix with right toolset name this time.
...
[SVN r33013]
2006-02-19 16:35:39 +00:00
John Maddock
287e0e6ce1
*** empty log message ***
...
[SVN r32403]
2006-01-24 17:37:11 +00:00
John Maddock
424c16835a
Update test cases to provide better error reporting and to eliminate temporaries.
...
[SVN r32325]
2006-01-15 12:30:27 +00:00
John Maddock
da670c577a
Check for infinity before using it.
...
[SVN r32254]
2006-01-07 11:28:37 +00:00
Daryle Walker
43fb57de0d
Updated for changes in the Test library
...
[SVN r2783]
2005-12-19 02:57:39 +00:00
John Maddock
a754671b05
Don't test infinities if they're not available.
...
[SVN r32074]
2005-12-16 14:10:48 +00:00
John Maddock
e771975c73
Upped test fudge factor a little.
...
[SVN r31986]
2005-12-11 17:29:53 +00:00
John Maddock
fc0510ee4c
Upped fudge factor to allow for broken msvc.
...
[SVN r31886]
2005-12-02 19:25:43 +00:00
John Maddock
cb13210a12
Update tests to provide more information, and disable tests that rely on long double overloads when those are known to be inaccurate.
...
[SVN r31772]
2005-11-24 18:44:24 +00:00
John Maddock
48eb2d3f9b
Minor fixes: added needed declaration of "two", upped tolerance slightly.
...
[SVN r31662]
2005-11-15 11:39:35 +00:00
John Maddock
3a4b7be9a9
Update tests to use correct epsilon calculation.
...
[SVN r31629]
2005-11-12 10:24:31 +00:00
John Maddock
0545c77c55
Added needed #include
...
[SVN r31598]
2005-11-08 12:11:53 +00:00
John Maddock
a4d364c657
Added some more diagnostics.
...
Changed fudge factor to use mantissa size, and not epsilon (epsilon is a rather different thing on Darwin's long double).
[SVN r31589]
2005-11-07 19:07:27 +00:00
John Maddock
1df348c201
Loosen some of the test permitted errors (so glibc can cope).
...
Added more diagnostic code to aid diagnosis of errors.
Allow (0,0) as a valid result if the expected result is very small.
[SVN r31588]
2005-11-07 18:50:53 +00:00
John Maddock
468370b061
Add more information to tests.
...
[SVN r31431]
2005-10-23 16:21:24 +00:00
John Maddock
a4dc75541c
Added TR1 math additions: docs and tests.
...
[SVN r31335]
2005-10-15 12:01:54 +00:00
Daryle Walker
45ec720e9f
Corrected 'll' function names to 'l1'
...
[SVN r2682]
2005-08-16 07:46:48 +00:00
Daryle Walker
ef97fe7be6
Preliminary code for Cayley-Dickson hypercomplex elements
...
[SVN r2669]
2005-07-27 23:57:04 +00:00
Stefan Slapeta
8543f7f26d
Replaced BOOST_TEST
...
[SVN r27050]
2005-02-03 12:27:14 +00:00
Douglas Gregor
2c8db4a10c
License update
...
[SVN r24180]
2004-07-30 04:46:56 +00:00
Daryle Walker
6792aa6963
Added bit-searching, bit-intersection, and scaling functions
...
[SVN r1984]
2004-02-17 03:43:40 +00:00
Daryle Walker
ae74e09deb
Added addition and subtraction operators
...
[SVN r1975]
2004-02-14 09:20:48 +00:00
Daryle Walker
37a37daa30
Added absolute-value and sign functions
...
[SVN r1974]
2004-02-13 22:50:54 +00:00
Daryle Walker
2439924bff
Added increment and decrement operators
...
[SVN r1973]
2004-02-13 22:06:26 +00:00
Daryle Walker
06bdded4f5
Fixed-up, hopefully, the implementation and exception policy of the bit-shift operators
...
[SVN r1968]
2004-02-13 10:34:00 +00:00
Daryle Walker
692dc90c11
Added unary + and - operators
...
[SVN r1967]
2004-02-13 01:05:16 +00:00
Daryle Walker
2ffe57e17c
Added bitwise and-not function; did minor documentation tweak
...
[SVN r1966]
2004-02-12 13:29:21 +00:00
Daryle Walker
11de9cab52
Added bit-shift operators; improved test for bit-reversal
...
[SVN r1961]
2004-02-11 08:20:28 +00:00
Daryle Walker
7b2bf3e95c
Added bitwise-and, -or, and -xor operators, including combined assignment versions
...
[SVN r1952]
2004-02-10 01:11:29 +00:00
Daryle Walker
54484f15df
Added even/odd test, comparison method and operators, and minor tweaks
...
[SVN r1947]
2004-02-09 05:42:24 +00:00
Daryle Walker
bcf7ac8a38
Added method to assign an arbitrary bit pattern within a bit range of another big_whole object
...
[SVN r1936]
2004-02-06 08:00:19 +00:00
Daryle Walker
8ee4efc5f7
Added files for the multi-precision non-negative integer type based on std::valarray
...
[SVN r1935]
2004-02-05 10:36:38 +00:00
Daryle Walker
bf81a3172e
Moved my stuff to the Boost Software License, Version 1.0
...
[SVN r1735]
2003-11-05 07:06:17 +00:00
Vladimir Prus
858956bc60
Add V2 Jamfile
...
[SVN r20212]
2003-09-29 16:40:02 +00:00
Dave Abrahams
9571d2b826
Use the import rule
...
[SVN r19968]
2003-09-08 17:38:49 +00:00
Gennadiy Rozental
f242f8e70f
New Jamfile for math libs unit tests
...
Old one is incorrect and removed
[SVN r17682]
2003-02-28 05:29:02 +00:00
Daryle Walker
314daf2a52
Added modulo arithmetic library
...
[SVN r522]
2002-09-20 17:04:13 +00:00
John Maddock
842399c620
Added tests for unsigned int types
...
[SVN r13685]
2002-05-06 10:36:32 +00:00
Dave Abrahams
d199e37ac9
Daryle Walker's GCD library submission
...
[SVN r11814]
2001-11-29 21:42:58 +00:00