Commit Graph

1759 Commits

Author SHA1 Message Date
John Maddock
1b7401b4c0 Merged changes from Trunk.
[SVN r44090]
2008-04-07 15:43:09 +00:00
John Maddock
d02ae84866 Added new pow function from Bruno Lalande.
Fixed a few bugs in the non-central distro's that could cause infinite looping.
Added non central distros to the performance test app.

[SVN r43800]
2008-03-23 10:32:21 +00:00
John Maddock
c4eb8bfc55 Regenerated graphs: bar graphs now have a fill!
Added new tests for non-central distributions.
Added new tests for rounding/truncation functions and fixed the bugs exposed by them.
Deleted no-longer used graph and equation files.

[SVN r43529]
2008-03-06 16:32:02 +00:00
John Maddock
190c26240b Added non central distros to fwd.hpp.
Tightened up error handing in the NC beta and T.
Added NC T docs and equations.
Updated NC T tests.

[SVN r43401]
2008-02-23 09:52:40 +00:00
John Maddock
5e22dad52e Added non-central T to distributions.hpp.
Updated generic_mode to use additive stepping where appropriate.
Improved NC-Beta PDF calculation and termination conditions.
More or less got non-central T finished off: quantiles now work, PDF and mode almost correct.
Fixed typo in toms748_solve.hpp
Updated NC-T tests to include mode and quantile.

[SVN r43333]
2008-02-20 18:11:43 +00:00
John Maddock
3e6b00970c Added some fixes to check for iterations >= the limit rather than ==.
Added extra common error handler.
Factored out some generic quantile code.
Killed some warnings in NC Beta.
Added initial non central T.
Fixed a few doc typos.
Added initial NC T tests.


[SVN r43324]
2008-02-19 16:52:02 +00:00
John Maddock
25f51c8bee Fix min/max usage violation.
[SVN r43145]
2008-02-07 10:13:31 +00:00
John Maddock
8e6ce7d00c Made the non-central chi-squared PDF more robust.
Set generic mode calculation to throw if the original guess yields a zero PDF.
Updated tests to match.

[SVN r43098]
2008-02-04 18:57:37 +00:00
John Maddock
698f280920 Added non central F distribution.
Tidied up non-central beta and Chi squared distribution by factoring out common generic-mode code.
Updated RR bindings.

[SVN r43075]
2008-02-03 17:17:32 +00:00
John Maddock
d047251208 Added non central beta docs.
Added script to auto-generate images from the .mml files.
Updated nc-beta tests for correct error rates and hooks to test R library.

[SVN r43032]
2008-01-31 10:57:30 +00:00
John Maddock
38e3301e09 More or less finished off the non central beta.
[SVN r43020]
2008-01-30 12:42:26 +00:00
John Maddock
b45ba0d428 Added initial commit of non-central beta distribution: CDF and quantile work OK, but nothing else!
[SVN r42999]
2008-01-28 18:29:37 +00:00
John Maddock
50c6a15594 Adjusted error levels for non-central chi square for Minwg support.
Added rounding_error to docs.

[SVN r42925]
2008-01-23 13:14:22 +00:00
John Maddock
928b8d8a63 Added error handling to the rounding functions.
Added better error handling to the non-central chi squared, and updated the tests.

[SVN r42920]
2008-01-23 10:41:06 +00:00
John Maddock
c73de6a963 Finish off Noncentral Chi Squared docs: except for a graph.
Update tests to cope with other platforms.
Disabled a few tests that can never pass.
Added nccs to concept checks.
Added warning fixes and special case handling to implementation.

[SVN r42849]
2008-01-18 16:35:56 +00:00
John Maddock
8081dc49df Commit of more or less complete non-central chi-square distribution: docs still to come.
[SVN r42820]
2008-01-16 19:02:45 +00:00
John Maddock
4786b056bb Added non-central chi squared test data.
[SVN r42770]
2008-01-14 17:30:00 +00:00
John Maddock
fe3db87cc4 Change concepts classes so they can be used when there is no long double support.
Added first cut of the non-central chi squared distribution.
Removed almost all occurrences of real_cast: replaced with calls to the truncation/rounding functions instead.

[SVN r42744]
2008-01-14 09:27:44 +00:00
John Maddock
db2ffd21c2 Added trunc, round and fmod family of functions.
[SVN r42244]
2007-12-22 19:01:37 +00:00
John Maddock
6104708968 Added testing-hooks to other libraries (Fortran ones mainly).
Updated docs accordingly.

[SVN r42173]
2007-12-19 18:50:39 +00:00
John Maddock
b27b39532b Added expint docs.
Updated zeta and expint tests with hooks for other libraries.
Added #pragma once to header files.

[SVN r42140]
2007-12-18 18:32:50 +00:00
John Maddock
77df75a1c3 Disable long double tests if there's no long double support.
[SVN r42078]
2007-12-15 18:29:29 +00:00
John Maddock
d1c0d26e25 Fix bad comments in test files.
[SVN r42035]
2007-12-14 16:36:40 +00:00
John Maddock
fc5f875671 Fixes #1454.
Previous fix was incomplete, so added new tests, confirmed problem report, and added fixes.

All the tests now compile cleanly with g++ -pedantic -Wall -Wno-long-long (checked with gcc-4.4.1 and 3.4.4).

[SVN r42012]
2007-12-13 18:45:58 +00:00
John Maddock
128f2adc14 Fixes #1454.
[SVN r41966]
2007-12-11 16:37:22 +00:00
John Maddock
ab9017cf29 Added expint and zeta functions, plus tests.
Fixed ntl::RR iostream operators.
Updated minimax program with zeta and expint approximations.

[SVN r41958]
2007-12-10 18:35:56 +00:00
John Maddock
73c76aad6d Fix IMB xlc error limits, added workarounds where these were missed by the last commit.
[SVN r41200]
2007-11-18 12:24:42 +00:00
John Maddock
99ae15a9cc Ooops: previous commit broke platforms/compilers with no long double support, added workaround as fix.
[SVN r41193]
2007-11-18 10:07:14 +00:00
John Maddock
b3a3f39802 Ooops, check on wrong index, now fixed.
[SVN r41169]
2007-11-17 10:00:43 +00:00
John Maddock
605c55e00e Added workarounds for IBM xlc C++: the compiler can't resolve an overloaded function template to a function pointer unless the template arguments are explicitly provided.
Fixed some bugs uncovered by the above workaround: some forward declarations didn't match the actual definition!
Hopefully fixed remaining Sun compiler issues: mostly fixed by above fixes anyway.

[SVN r41142]
2007-11-16 11:30:43 +00:00
John Maddock
e7db05cc1a Merged changes from Trunk.
[SVN r41085]
2007-11-14 12:11:23 +00:00
John Maddock
4efbfe4d7c Adjust test logic to cope with compilers that don't underflow constants to zero when they should.
[SVN r41026]
2007-11-12 10:00:46 +00:00
John Maddock
69031ebe9d Added static assertion to catch use of long double function overloads when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
Made sure that if BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined, then no long double overloads are actually instantiated by the tests.

[SVN r41007]
2007-11-11 14:05:50 +00:00
John Maddock
6aa3c20c23 Fixes for IBM xlc: ensure that functions that are also macros are correctly protected against macro expansion.
[SVN r40971]
2007-11-09 18:42:46 +00:00
John Maddock
bf1404a2df Improved error messages and added tentative fixes for HP Tru64: the compiler appears to store constants that should underflow to zero as a small non-zero values which messes up the logic used in the test cases.
[SVN r40963]
2007-11-09 11:01:45 +00:00
John Maddock
6843b20e88 Still trying to get the Solaris error rates correct....
[SVN r40960]
2007-11-09 09:54:43 +00:00
John Maddock
2b88b46284 Disabled use of long double when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
Disabled special-double precision error rates when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.


[SVN r40882]
2007-11-07 11:59:39 +00:00
John Maddock
599b5c958e Change test (again) so that the range of values tested matches original test: last change started testing more extreme input values, which caused regressions on Mac OS X.
[SVN r40881]
2007-11-07 11:50:02 +00:00
John Maddock
6d29a297d7 Fix for Mac OS error rates.
[SVN r40847]
2007-11-06 17:21:28 +00:00
John Maddock
96b43ca1bd Still trying to get those Solaris error rates correct.
[SVN r40845]
2007-11-06 17:09:33 +00:00
John Maddock
d199b59ef0 Still trying to get the Solaris error rates correct.
[SVN r40844]
2007-11-06 17:02:26 +00:00
John Maddock
b020bede18 Changed test so that input values are exact binary values to fix failure at float precision.
[SVN r40781]
2007-11-05 12:08:39 +00:00
John Maddock
325a076259 Still trying to get Mac OS error rates correct...
[SVN r40771]
2007-11-05 09:33:31 +00:00
John Maddock
098513f585 Added workaround for Sunpro not compiling the traits classes.
Added workaround for platforms where numeric_limits<>::denorm_min() does not return a denorm!
Updated Solaris error rates.

[SVN r40727]
2007-11-03 18:32:54 +00:00
John Maddock
6865851961 Try again to fix Darwin failure: the wrong error limit is currently being found.
[SVN r40720]
2007-11-03 12:43:41 +00:00
John Maddock
25a040f5c2 Hopefully, take care of the remaining Tru64 failures: adjust >= test to > in some of the tests, and fix one expected error level for the incomplete beta function.
[SVN r40719]
2007-11-03 12:36:55 +00:00
John Maddock
b2ac0a2925 Fixes for Mac OS X on PowerPC Darwin.
[SVN r40684]
2007-11-02 13:02:41 +00:00
John Maddock
d112d855f2 Some minor tweaks to support Sun's compiler on Linux.
[SVN r40678]
2007-11-02 08:59:24 +00:00
John Maddock
2426ea735d Still more tweaks to try and figure out why this fails on Tru64.
[SVN r40636]
2007-11-01 10:17:49 +00:00
John Maddock
20ba1ae426 Try and get better error messages to debug Tru64 failures.
[SVN r40623]
2007-10-31 12:43:10 +00:00
John Maddock
b7decbd587 split test_policy into 2 to reduce compile times.
Added expected error rates for Mac OS X on Intel.

[SVN r40522]
2007-10-28 11:07:14 +00:00
John Maddock
163ea7eaa6 Set expected error limits for HP Tru64.
Prevent very extreme-value round-trip tests from being run.

[SVN r40500]
2007-10-27 11:32:30 +00:00
John Maddock
909bd2b39f Try and work around a Tru64 overload resolution bug.
[SVN r40484]
2007-10-26 18:12:28 +00:00
John Maddock
1d90f73246 Fix HPUX error levels: reordered expected failure rates so that they still work when largest_real == double.
[SVN r40401]
2007-10-24 08:49:06 +00:00
John Maddock
722a2d848d Merged changes in Trunk.
[SVN r40161]
2007-10-18 18:05:13 +00:00
John Maddock
3313f991c0 Fixes for the Sun-5.9 compiler: don't try and encode constants smaller than LDBL_MIN, the compiler chokes on it.
Fixes for STLport: long double stream operators are broken (streaming in appears not to work at all, streaming out can segfault if the value is too small).

[SVN r40083]
2007-10-16 15:41:57 +00:00
John Maddock
4ba0027365 Fixed lots of "inspect" issues: bad hyperlinks, tabs in source and missing licenses.
Tweaked some error levels again.

[SVN r40079]
2007-10-16 09:32:28 +00:00
John Maddock
135081f081 Renamed two over-long files
simplified test_compile_result.hpp so hopefully Sunpro can cope with it.
Modified Jamfile to static link to regex lib on Sun.
Adjusted Solaris expected error levels.

[SVN r40012]
2007-10-14 12:54:49 +00:00
John Maddock
b6aa138a79 Fixed most of the remaining Borland issues, and removed dependency to Boost.Lambda.
Added tentative fix for the Sunpro compilers.

[SVN r39971]
2007-10-13 16:23:18 +00:00
John Maddock
f51e500eea Lots of Borland specific patches: quite a few of the special-function tests do now do actually pass.
[SVN r39958]
2007-10-12 10:01:36 +00:00
John Maddock
d4c1bb24c7 Added Compaq CXX long long workaround to real_concept.hpp.
Added missing forward declaration to ellint_1.hpp.
Adjusted native log1p support for aCC.
Removed bad forward declaration of fpclassify: correct declaration appears later in the file.
Adjusted compile_test/test_compile_result.hpp to not return a NULL reference.
Adjusted permitted error-limits for new platforms.
Split some of the tests into smaller units so we don't get compiler timeouts when building (hopefully!)

[SVN r39893]
2007-10-10 16:05:26 +00:00
John Maddock
3cb6098751 Adjusted limits for Win64 and Sun OS.
[SVN r39881]
2007-10-10 09:28:48 +00:00
John Maddock
fbef4e1906 More Borland workarounds.
[SVN r39854]
2007-10-09 18:11:17 +00:00
John Maddock
1c2234f016 A few fixes to keep Borland happy.
[SVN r39843]
2007-10-09 14:49:37 +00:00
John Maddock
772c8ae7ca Initial math-toolkit commit.
Includes all code and tests, but no docs yet.

[SVN r39792]
2007-10-08 16:58:15 +00:00
John Maddock
84dc707e2a Misc fixes for minimal Borland support.
[SVN r39779]
2007-10-08 09:46:32 +00:00
John Maddock
8e727140a4 Disable some Intel warnings.
[SVN r39713]
2007-10-05 17:04:58 +00:00
John Maddock
700ea50732 Fixes for VC-7.1.
[SVN r39478]
2007-09-22 17:00:29 +00:00
John Maddock
3d9e81a67e Added needed using declaration to cauchy.hpp.
Added needed #include to config.hpp.
Tightened up compile-tests.
Fixed compile tests so they build with VC++ earlier than VC8sp1.

[SVN r39471]
2007-09-22 09:17:21 +00:00
Paul A. Bristow
76814e7e00 Warning squashing and estimate to find
[SVN r39453]
2007-09-21 17:39:55 +00:00
John Maddock
a744bdaed0 Hopefully fixed test to make it compatible with earlier VC++ versions.
[SVN r39422]
2007-09-20 18:22:32 +00:00
Paul A. Bristow
a434f88dca Yet more error suppression
[SVN r39411]
2007-09-20 13:24:33 +00:00
Paul A. Bristow
e86d2c339c warning suppression with comment - constant too big for float.
[SVN r39403]
2007-09-20 11:39:30 +00:00
Paul A. Bristow
03f951e92f Warning suppression
[SVN r39390]
2007-09-19 15:55:17 +00:00
Paul A. Bristow
1b20b57b12 warning suppression by comment unused name name, and casting T(0.1) to avoid warning C4244: 'argument' : conversion from 'double' to 'const
[SVN r39389]
2007-09-19 15:44:45 +00:00
Paul A. Bristow
7f0f982774 changed to use
if((boost::math::isinf)(x))
{
  if(x < 0) return 0;
  return 1;
}
 to get rid of 4127 warnings

but still need to supress 4127

[SVN r39346]
2007-09-17 10:08:11 +00:00
Paul A. Bristow
b82be99b65 added test to suit addition of special caese x = infinity for pdf and cdf
[SVN r39319]
2007-09-16 15:19:00 +00:00
Paul A. Bristow
345ed64d89 added test to suit addition of special caese x = infinity for pdf and cdf
[SVN r39318]
2007-09-16 15:18:36 +00:00
Paul A. Bristow
ab3bb22857 various corrections.
[SVN r39317]
2007-09-16 15:17:08 +00:00
Paul A. Bristow
0b2ddcb5bf added find_scale and w4127 suppress
[SVN r39316]
2007-09-16 15:15:51 +00:00
Paul A. Bristow
173a541bf4 tests changed to allow pdf and cdf infinity.
[SVN r39311]
2007-09-16 10:10:31 +00:00
Paul A. Bristow
9d6e4b4f7c added tests for new checks on bad arguments like scale <=0
[SVN r39208]
2007-09-12 09:39:07 +00:00
Paul A. Bristow
b0202394cc 1st version of test find scale
[SVN r39185]
2007-09-10 17:52:02 +00:00
John Maddock
3321e0a76c Another attempt to fix Mac OS failures: previous pp-logic didn't work for some reason.
[SVN r39083]
2007-08-31 09:16:54 +00:00
John Maddock
d0aa223204 Added some type traits so we can do concept checking where required.
Updated find_location to use the traits.
Added tests for traits.hpp.
Updated Jamfile.v2 with new tests.

[SVN r39076]
2007-08-30 17:08:46 +00:00
Paul A. Bristow
7a9488f295 tests now pass.
[SVN r39070]
2007-08-30 14:04:19 +00:00
John Maddock
734bd76656 Updated expected results for Mac OS X.
[SVN r39067]
2007-08-30 10:14:57 +00:00
John Maddock
8e8a88b748 Fix include form.
[SVN r39059]
2007-08-29 18:32:00 +00:00
John Maddock
afc7ea301b Fix mingw regression.
[SVN r39055]
2007-08-29 17:15:54 +00:00
John Maddock
7db8540a18 Suppressed some gcc warnings.
[SVN r39053]
2007-08-29 16:38:13 +00:00
Paul A. Bristow
dbaae571f8 corrected tests.
[SVN r39051]
2007-08-29 14:10:31 +00:00
John Maddock
95559eb26a Updated isnan so that it works even when the system does a "#define isnan isnan".
Updated Jamfiles to reflect new file names, and suppress some more warnings.

[SVN r39031]
2007-08-28 12:34:14 +00:00
John Maddock
5721a19032 Renamed over-long files and sections.
[SVN r38972]
2007-08-26 18:40:16 +00:00
Paul A. Bristow
60c09aa988 Start of tests - but complement doesn't work.
[SVN r38966]
2007-08-26 16:36:17 +00:00
Paul A. Bristow
c661dbbcd0 added test for synonyms location & scale for mean & sd
[SVN r38926]
2007-08-25 09:03:02 +00:00
John Maddock
bb1931edec Changed "policy" directory to "policies" to match the namespace name.
[SVN r38780]
2007-08-20 12:43:32 +00:00
John Maddock
be2ccd4e73 Fixed Cygwin failures.
[SVN r38713]
2007-08-16 13:07:32 +00:00
John Maddock
e6a8118e0c Fixed a few more regressions, and quashed a few warnings.
[SVN r38712]
2007-08-16 12:22:22 +00:00
John Maddock
6d5fb5a5d6 Updated include tests, to instantiate the respective code. Fixed any errors that cropped up and suppressed rather a lot of warnings.
Updated docs as well.

[SVN r38692]
2007-08-15 18:31:18 +00:00
John Maddock
c3ffe27f16 Changed the name of some of the discrete quantile policies, and more or less finished the policy tutorial.
[SVN r38609]
2007-08-12 09:24:08 +00:00
John Maddock
f46595c9b1 More or less finished policy tutorial.
Trivial whitespace change to test_negative_binomial.cpp.

[SVN r38504]
2007-08-08 10:48:10 +00:00
John Maddock
b10841e3be Added another example to the policy tutorial.
Fixed \n warnings in the issue list.
Suppressed some Intel compiler messages.

[SVN r38445]
2007-08-04 18:13:04 +00:00
Paul A. Bristow
3567a4e5ba After changes to permit MS extensions
[SVN r38419]
2007-08-03 13:22:41 +00:00
John Maddock
e2e94afe64 Minor fix to previous policy update.
Lots of warning suppression.
Updated docs, and added the start of a policy tutorial.

[SVN r38415]
2007-08-03 13:14:29 +00:00
Paul A. Bristow
cb82bea11e Paul's Big policy revison
[SVN r38413]
2007-08-03 10:13:47 +00:00
Douglas Gregor
d39e962ee0 Fix eol-style and mime-types
[SVN r7564]
2007-07-27 00:28:00 +00:00
John Maddock
472614473a Merged policy code.
[SVN r7536]
2007-07-25 11:51:46 +00:00
Paul A. Bristow
e004a13880 AddAdded author, copyright and license info
[SVN r7477]
2007-07-19 09:19:46 +00:00
Paul A. Bristow
bbfec301f8 added a missing L to constant test value.
[SVN r7430]
2007-07-14 17:51:12 +00:00
Paul A. Bristow
4a0135fcb8 Added lots of L to constant test values.
[SVN r7429]
2007-07-14 17:50:36 +00:00
Paul A. Bristow
b98cb0eb6d Increased tolerance from tol2 to tol5
[SVN r7428]
2007-07-14 11:36:35 +00:00
Paul A. Bristow
e0cbf9ca6b added test_pareto
[SVN r7427]
2007-07-14 11:30:14 +00:00
Paul A. Bristow
4d8bf6ec1c corrected missing ()before max, but NOT test tolerances yet.
[SVN r7425]
2007-07-14 11:20:50 +00:00
John Maddock
773de91f0b Made comment more descriptive.
[SVN r7356]
2007-07-04 12:46:13 +00:00
Paul A. Bristow
58f815255e Spelling and warning suppression
[SVN r7166]
2007-06-26 13:30:25 +00:00
John Maddock
9954b8abb2 Re-factored rational function tests to make them easier to compile.
[SVN r7109]
2007-06-20 12:38:41 +00:00
John Maddock
28a4611234 Undone mistaken policy commits.
[SVN r7108]
2007-06-20 11:28:54 +00:00
John Maddock
d4f55faf3a Removed reference to non-existent file
[SVN r7107]
2007-06-20 11:23:12 +00:00
John Maddock
e7ce659c50 Test update
[SVN r7098]
2007-06-19 10:12:26 +00:00
John Maddock
3630826faa Ooops, removed reference to targets that don't exist.
[SVN r7091]
2007-06-18 18:24:48 +00:00
John Maddock
d2c0d61650 Initial policy code tests
[SVN r7087]
2007-06-17 16:31:04 +00:00
John Maddock
2b9048a2e8 Added an option to disable the "real_concept" tests: these take effectively "forever" to build in release mode with some compilers.
[SVN r7085]
2007-06-17 15:48:25 +00:00
Douglas Gregor
f98b790432 Set MIME types and end-of-line styles globally
[SVN r7018]
2007-06-12 22:09:40 +00:00
John Maddock
80adc569d1 Up the error rate slightly.
[SVN r4488]
2007-06-07 17:40:03 +00:00
John Maddock
82bdcd7867 Added one missing file, deleted one dead file.
[SVN r4454]
2007-06-05 11:51:31 +00:00
Paul A. Bristow
6a6e672f3a added warning suppression
#  pragma warning(disable: 4245) // int/unsigned int conversion

Is this right or is there something else amiss?

[SVN r4247]
2007-05-25 15:12:03 +00:00
Paul A. Bristow
5ece6f9704 corrected spelling, suppressed warnings and showed sample output.
[SVN r4241]
2007-05-25 11:23:35 +00:00
John Maddock
4bdf0dd8f0 Added alternative polynomial and rational function evaluation methods.
Added new optimisation config options (still need documenting).
Tidied up use of instrumentation code so they all use BOOST_MATH_INSTRUMENT now.
Various tweaks to inverse incomplete beta and gamma to reduce number of iterations.
Changed incomplete gamma and beta to calculate derivative at the same time as the function (performance optimisation for inverses).
Fixed MinGW failures.
Refactored and extended rational / polynomial test cases.

[SVN r4172]
2007-05-22 08:52:48 +00:00
Paul A. Bristow
e6a9aa5fbb Spelling & layout (needs comment on purpose these tests?)
[SVN r4080]
2007-05-16 16:27:56 +00:00
John Maddock
cb0194297b Adjusted Mac OS error levels.
Fixed up pareto failures.
Added some debugging code to track remaining Mac OS failures.


[SVN r3926]
2007-04-11 11:44:43 +00:00
Paul A. Bristow
ecaa82d4a4 added & corrected tests
[SVN r3811]
2007-03-28 11:43:19 +00:00
Paul A. Bristow
7405f2d546 Added missing distributions (and suppressed MSVC level 4 warnings)
[SVN r3810]
2007-03-28 11:42:21 +00:00
Paul A. Bristow
3336f313c3 added pareto distribution.
[SVN r3800]
2007-03-19 18:52:36 +00:00
Paul A. Bristow
6e8f0b61a0 pareto compile test
[SVN r3799]
2007-03-19 18:49:19 +00:00
John Maddock
f95f292d2d Fixed bracketing and comma's in initialiser lists.
Some fixes for MacOS X's strange long double.
Updated and fixed docs.


[SVN r3795]
2007-03-19 13:20:38 +00:00
Paul A. Bristow
3da91a2602 added tests (possibly not quite right) for ranges.
[SVN r3781]
2007-03-16 15:16:00 +00:00
Paul A. Bristow
3225d4322e 1st try.
[SVN r3780]
2007-03-16 14:58:06 +00:00
John Maddock
44cf3010cc Median is supported now.
[SVN r3740]
2007-02-28 10:46:59 +00:00
John Maddock
61942e35be Undo previous fix, it causes regressions.
[SVN r37022]
2007-02-20 13:28:39 +00:00
John Maddock
1158127c7d STLport workaround.
[SVN r37001]
2007-02-19 10:00:41 +00:00
John Maddock
4bb07211d8 Final lot of updated interfaces and docs.
[SVN r3646]
2007-02-06 13:32:59 +00:00
John Maddock
10eeb62895 Fix Linux and HP-UX regressions.
[SVN r3633]
2007-01-29 11:35:10 +00:00
John Maddock
4ef10fbe2c Added updated SOC Bessel function code.
Changed overlow_error to have a default second argument, updated client code to take advantage of this.


[SVN r3629]
2007-01-19 17:05:21 +00:00
John Maddock
0f32112e12 Few minopr changes to Rayleigh.
Added missing #include to bernoulli.hpp.
Reorganised instantiate.hpp.


[SVN r3612]
2007-01-08 13:37:40 +00:00
Paul A. Bristow
6ba94712c3 added Rayleigh dsitribution
[SVN r3608]
2007-01-07 15:54:08 +00:00
Paul A. Bristow
c7d542e37c 1st cut.
[SVN r3607]
2007-01-07 15:51:42 +00:00
Paul A. Bristow
c4c19082a8 Corrected failure to compile!
[SVN r3604]
2007-01-05 13:20:40 +00:00
Paul A. Bristow
54c6ce894f Added Ls, but unsure if 'cured'
[SVN r3603]
2007-01-05 12:46:50 +00:00
Paul A. Bristow
9f2769e052 Added missing Ls
[SVN r3602]
2007-01-05 12:36:20 +00:00
John Maddock
9a59557542 Added new tests to Jamfile.
Fixed up test_constants so it passes on platforms with real long doubles.


[SVN r3600]
2007-01-04 18:32:10 +00:00
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
Paul A. Bristow
f8082e18e7 a few tests for added constants using std functions.
[SVN r3596]
2007-01-03 17:40:22 +00:00
Paul A. Bristow
c8094b86da Coected test sof kurtosis (and k neither 0 or 1)
[SVN r3595]
2007-01-03 17:38:38 +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
810fc71342 Fix remaining HP-UX regressions.
[SVN r3591]
2007-01-01 18:59:56 +00:00
John Maddock
b1f54f9fe2 Updated concept checks, fixed resulting errors.
[SVN r3589]
2007-01-01 13:58:49 +00:00
John Maddock
dcd1455e26 removed dead file.
[SVN r36548]
2006-12-31 16:44:13 +00:00
Paul A. Bristow
02836f93d6 added more tests
[SVN r3581]
2006-12-30 11:02:36 +00:00
Paul A. Bristow
de37bf2484 1st commit of tests
[SVN r3580]
2006-12-30 11:01:41 +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
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
John Maddock
4fcd2f3919 Added needed parenthesis for min/max problem.
[SVN r3556]
2006-12-22 10:07:21 +00:00
Paul A. Bristow
a5e0fe7f86 Updated tests for accuacy etc.
[SVN r3554]
2006-12-21 18:05:25 +00:00
Paul A. Bristow
23330f9ac8 Some minor change.
[SVN r3553]
2006-12-21 17:41:52 +00:00
Paul A. Bristow
158ab5df72 median now provided vai quantile(half) so test for this and remove check_throw.
[SVN r3550]
2006-12-21 13:12:43 +00:00
Paul A. Bristow
5479928a0a Added range and support
[SVN r3542]
2006-12-20 16:23:42 +00:00
Paul A. Bristow
4863b82990 added median tests.
[SVN r3541]
2006-12-20 15:50:50 +00:00
Paul A. Bristow
2f47640e6c Added median tests
[SVN r3540]
2006-12-20 15:33:43 +00:00
Paul A. Bristow
b1a104ffe1 More Ls and more decimal digits 6666666666666 added.
[SVN r3527]
2006-12-13 19:14:27 +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
892747d04e Updated for layout changes
[SVN r3521]
2006-12-12 10:31:05 +00:00
Paul A. Bristow
cc12654f8e changed tests for no infinity allowed.
[SVN r3519]
2006-12-12 10:07:11 +00:00
Paul A. Bristow
431748ca99 Test value made L, and new tests for throw on infinity and a==b added.
[SVN r3517]
2006-12-12 09:49:23 +00:00
Paul A. Bristow
69ca96e46f Added more tests for extreme values, including infinity and NaN.
[SVN r3515]
2006-12-11 14:36:04 +00:00
Paul A. Bristow
cbf9a584c6 1st tests - but needs some cruft removing.
[SVN r3509]
2006-12-10 18:42:56 +00:00
Paul A. Bristow
b0aed3e830 comment on constructor.
[SVN r3499]
2006-12-05 10:02:21 +00:00
Paul A. Bristow
4123458d0e 1st tests
[SVN r3496]
2006-12-04 17:57:12 +00:00
John Maddock
9f047e478e More doc tweeks, improved the "about" page.
Adjusted the neg binomial test to pass on HP-UX.


[SVN r3493]
2006-12-04 16:05:17 +00:00
Joaquín M. López Muñoz
12a5892443 various fixes for old compilers
[SVN r36259]
2006-12-04 07:04:33 +00:00
Paul A. Bristow
e7420f4519 Added warning 4180 suppression. (in fusion)
[SVN r3488]
2006-12-03 13:34:17 +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
Paul A. Bristow
30c5f9e950 Fumblings removed.
[SVN r3481]
2006-11-30 09:46:46 +00:00
John Maddock
245447e82d Do need the warning supression after all for gcc.
[SVN r3478]
2006-11-28 18:08:16 +00:00
Paul A. Bristow
265bfbf91a Added checks that real_concept throws overflow when result is infinity.
[SVN r3476]
2006-11-28 16:31: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
03e3126745 Added tests that should return infinity for built-in but not for real_concept which lacks infinity.
[SVN r3471]
2006-11-28 10:42:37 +00:00
Paul A. Bristow
fe288c5acc Added test for quantile boundary. Need waay to test for infinity.
[SVN r3470]
2006-11-27 19:05:04 +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
117a715923 Added tests for prob smaller than cdf(0) for quantile and complement.
[SVN r3457]
2006-11-24 17:52:05 +00:00
Paul A. Bristow
45de3a56cf Added test fo quantile with probability < pdf(0) - expect zero.
[SVN r3456]
2006-11-24 17:10:27 +00:00
Paul A. Bristow
0f72972f34 various corrections.
[SVN r3424]
2006-11-21 17:16:37 +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
c92f714cb7 Shows commit needed - not sure why but probably comment only.
[SVN r3387]
2006-11-14 14:56:23 +00:00
Daryle Walker
37e8422e8a Made the GCD specializations for '(unsigned) long long' and '(unsigned) __int64' mutually exclusive, following the lead of <boost/cstdint.hpp>.
[SVN r35999]
2006-11-10 23:15:49 +00:00
Vladimir Prus
d53b96d8ed Allow building of shared versions of some Boost.Test libraries.
Adjust tests to use always use static linking to Boost.Test, since
linking to the shared version requires test changes.

Patch from Juergen Hunold.


[SVN r35989]
2006-11-10 19:09:56 +00:00
Paul A. Bristow
44be43d70d More tests including test_spot and handful of spot values. estimate_alpha, 2 versions.
[SVN r3363]
2006-11-09 17:34:37 +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
5eb9900645 Tests for quantile pass OK. Parameter estimation still??
[SVN r3359]
2006-11-08 15:28:04 +00:00
Paul A. Bristow
cccb45e40e More tests - but some quantile fail:-(((
[SVN r3357]
2006-11-07 19:25:52 +00:00
Paul A. Bristow
4e9c200dc7 1st tests for double only. More TODO.
[SVN r3355]
2006-11-07 12:22:34 +00:00
Paul A. Bristow
2612682895 Added check that kurtosis_excess is kurtosis -3
[SVN r3353]
2006-11-07 10:42:28 +00:00
John Maddock
5c8b72ceb4 Last few Linux/HP-UX fixes.
[SVN r3349]
2006-11-06 18:46:44 +00:00
Daryle Walker
b7001da56b Changed GCD for built-in integer types to use the binary-GCD algorithm
[SVN r35850]
2006-11-05 07:10:42 +00:00
Paul A. Bristow
d1d2503c68 Made sqrt(96) test value more accurate using Wolfram function evaluator.
[SVN r3347]
2006-11-04 22:19:25 +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
Daryle Walker
025d2d6b73 Added custom integer types, signed and unsigned, with and without std::numeric_limits<> specializations, to test
[SVN r35830]
2006-11-03 22:43:34 +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
Daryle Walker
57e9914259 Changed test to use Boost.Test's unit test system
[SVN r35815]
2006-11-03 03:08:27 +00:00
Paul A. Bristow
c7581f4df8 Added JM copyright !
[SVN r3342]
2006-11-01 09:32:46 +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
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
741fbd58bf Correction to comment - it doesn't hang using real conept - it just takes longer (3 min)
[SVN r3325]
2006-10-26 14:01:20 +00:00
Paul A. Bristow
d18909e199 More tests, OK with float, double but FAILS for real concept - hangs :-(
[SVN r3323]
2006-10-26 13:10:07 +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
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
78cac89492 Many tests fail :-(( Work TODO!
[SVN r3305]
2006-10-24 09:40:14 +00:00
Paul A. Bristow
7a2a1e1586 Added check on conveience constructors
[SVN r3304]
2006-10-24 09:38:53 +00:00
Paul A. Bristow
14bb25eb12 Add test for two convenient constructions.
[SVN r3296]
2006-10-23 10:32:56 +00:00
Paul A. Bristow
55a7bcc2bb Add test for convenient construction.
[SVN r3295]
2006-10-23 10:29:56 +00:00
Paul A. Bristow
71fb3c7068 Added test for convenience construction.
[SVN r3294]
2006-10-23 10:18:53 +00:00
Paul A. Bristow
9db4e6f48f added link to wikipedia and test for distribution construction.
[SVN r3293]
2006-10-23 10:11:19 +00:00
Paul A. Bristow
fea4b203f7 Update to check two convenient constructors and added output.
[SVN r3290]
2006-10-22 17:45:24 +00:00
Paul A. Bristow
b5825186c2 Updated to check on two convenient construtors & output appended.
[SVN r3289]
2006-10-22 16:49:21 +00:00
Paul A. Bristow
98c1211f30 Added check on two convenient construction methods.
Also noted that a few tests fail at the tolerance of 50 eps. Needs >100 eps for a few tests.


[SVN r3288]
2006-10-22 16:44:41 +00:00
Paul A. Bristow
b69b5afbe0 Checked on two convenience distribution methods.
(And added stat_cast<V>() to polynomials in rational to avaoid warning)


[SVN r3284]
2006-10-22 16:12:38 +00:00
John Maddock
38e02e4b59 Added weibull tests.
Updated Jamfile.


[SVN r3281]
2006-10-22 15:49:08 +00:00
Paul A. Bristow
eb5e689ad5 updated test to confirm typedef distributions Do work for Cauchy but NOT binomial.
[SVN r3279]
2006-10-21 18:35:37 +00:00
John Maddock
b8caa9249e Initial test suite.
[SVN r3276]
2006-10-21 17:57:51 +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
abec24fc6d More tests of optimised version (JM's best so far)
[SVN r3262]
2006-10-17 09:07:45 +00:00
Paul A. Bristow
8e4d2438be comments only.
[SVN r3260]
2006-10-17 08:58:22 +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
fa33ecb003 more tests added to test new pdf and cdf code changes.
[SVN r3255]
2006-10-15 15:39:14 +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
87afad1896 Output added.
[SVN r3249]
2006-10-10 16:15:59 +00:00
Paul A. Bristow
2a191a2655 1st poisson distribuion sanity test.
[SVN r3247]
2006-10-10 15:32:21 +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
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