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