Commit Graph

383 Commits

Author SHA1 Message Date
John Maddock
66d109e1b3 Break the test_binomial_real_concept test into 7 parts to reduce memory consumption.
[SVN r48667]
2008-09-08 17:55:36 +00:00
John Maddock
2459d0f2a6 Merged changes from sandbox, and regenerated the docs.
[SVN r48294]
2008-08-22 12:51:40 +00:00
John Maddock
c9e8b4d192 Updated inverse hypergeometric functions with better tests and more accurate implementation.
[SVN r48250]
2008-08-20 11:02:05 +00:00
John Maddock
f284acaf50 Merge changes from Trunk.
[SVN r47079]
2008-07-04 17:08:58 +00:00
John Maddock
396f854d6f Split test_tr1 into two: one for long double, and one for float and double types.
[SVN r45645]
2008-05-22 11:23:57 +00:00
John Maddock
4ce850dd8c Merged additions/changes from the Sandbox to Trunk.
[SVN r45482]
2008-05-18 09:18:22 +00:00
John Maddock
5ebe9d5b2f Split TR1 library build into separate libraries for C99 and TR1, plus separates for float/double/long double etc.
Added concept check for TR1 header.
Added basic runtime check for TR1 header.

[SVN r45215]
2008-05-08 16:09:30 +00:00
John Maddock
d7e23fd2a4 Added first cut of nextafter family of functions.
[SVN r44878]
2008-04-29 12:01:22 +00:00
John Maddock
3ccbd30ab3 Merged patches from Trunk.
[SVN r44695]
2008-04-21 13:04:30 +00:00
John Maddock
ade4cc09c4 Removed command line options that screw up Intel on Darwin.
Added warning suppression to code instead.

[SVN r44533]
2008-04-18 10:03:46 +00:00
John Maddock
29ebccba73 Attempt fix for Intel on Darwin failures.
[SVN r44432]
2008-04-15 16:36:21 +00:00
John Maddock
669bfb3991 Merged changes from sandbox to Trunk:
New special functions for truncation and rounding, plus exponential integrals and zeta.
New non central distributions.
Updated equation png's so that they are all consistent.

[SVN r44091]
2008-04-07 15:58:51 +00:00
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
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
38e3301e09 More or less finished off the non central beta.
[SVN r43020]
2008-01-30 12:42:26 +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
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
db2ffd21c2 Added trunc, round and fmod family of functions.
[SVN r42244]
2007-12-22 19:01:37 +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
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
e7db05cc1a Merged changes from Trunk.
[SVN r41085]
2007-11-14 12:11:23 +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
722a2d848d Merged changes in Trunk.
[SVN r40161]
2007-10-18 18:05:13 +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
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
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
Paul A. Bristow
0b2ddcb5bf added find_scale and w4127 suppress
[SVN r39316]
2007-09-16 15:15:51 +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
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
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
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
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
e0cbf9ca6b added test_pareto
[SVN r7427]
2007-07-14 11:30:14 +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
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
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
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
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
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
810fc71342 Fix remaining HP-UX regressions.
[SVN r3591]
2007-01-01 18:59:56 +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
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
c6f65d5ad3 Big initial commit of the Polynomial and associated functions from TR1.
[SVN r3522]
2006-12-12 17:25:29 +00:00
John Maddock
245447e82d Do need the warning supression after all for gcc.
[SVN r3478]
2006-11-28 18:08:16 +00:00
John Maddock
475d4a0280 Misc small fixes and warning suppressions.
[SVN r3472]
2006-11-28 10:54:09 +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
John Maddock
5c8b72ceb4 Last few Linux/HP-UX fixes.
[SVN r3349]
2006-11-06 18:46:44 +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
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
John Maddock
38e02e4b59 Added weibull tests.
Updated Jamfile.


[SVN r3281]
2006-10-22 15:49:08 +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
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
33783a0295 Updated list of tests.
[SVN r3202]
2006-09-16 18:29:12 +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
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
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
2760d7ad0d Added missing license info.
[SVN r34558]
2006-07-16 16:01:25 +00:00
John Maddock
c9aae0ea7f Updated to include new test programs.
[SVN r3074]
2006-07-09 15:58:53 +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
a4dc75541c Added TR1 math additions: docs and tests.
[SVN r31335]
2005-10-15 12:01:54 +00:00
Vladimir Prus
858956bc60 Add V2 Jamfile
[SVN r20212]
2003-09-29 16:40:02 +00:00