2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-16 13:32:13 +00:00
Commit Graph

386 Commits

Author SHA1 Message Date
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
211d58523c Rename some of the extern "C" C99 functions so we don't get infinite recursion.
Disabled long double testing when not available.

[SVN r45550]
2008-05-19 18:03:09 +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
f66efdf48f Fix some of the small constants.
Adjust expected error rate.

[SVN r45437]
2008-05-16 17:20:01 +00:00
John Maddock
b13d51b1fe Added float_advance + docs.
Changed pow<N> to reduce the number of template instantiations.

[SVN r45357]
2008-05-14 18:35:52 +00:00
John Maddock
721d6a0d62 Fixed float_next and added extra tests to detect the bug.
Fixed expected assoc_legendre results.

[SVN r45332]
2008-05-13 16:43:46 +00:00
John Maddock
2d19ade9fd Made float_distance return a signed value.
Added docs for float_next etc.
Updated test_next to cope with signed results.
Added informational output to test_tr1.

[SVN r45220]
2008-05-08 17:14:17 +00:00
John Maddock
2986ee8bf6 Renamed next_* functions to float_*.
[SVN r45216]
2008-05-08 16:16:51 +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
6012b10c87 Changed long long to boost::long_long_type and unsigned long long to boost::ulong_long_type.
A couple of other typo corrections, to get the code compiling with g++ -pedantic.

[SVN r44877]
2008-04-29 10:05:11 +00:00
John Maddock
ffbb796900 Apply VC-7.1 fixes: sometimes ADL fails, and we need a using declaration in order for the correct overload to be found.
Add missing #include. to t_distribution_inv.hpp.
Suppress unnecessary instantiations in instantiate_all.cpp.

[SVN r44748]
2008-04-24 09:40:31 +00:00
John Maddock
3ccbd30ab3 Merged patches from Trunk.
[SVN r44695]
2008-04-21 13:04:30 +00:00
John Maddock
bde28692c3 Moved real_concept and std_real_concept overloads of the rounding and truncation functions into the same namespace as the classes so that they can be found via ADL.
Updated the tests to cope with the change.
Updated library configuration to cope with the change.
Made sure that the rounding and truncation functions are all correctly forward declared.

[SVN r44612]
2008-04-20 10:58:20 +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
9860b40aca Try and fix the remaining Intel-Linux failures.
[SVN r44507]
2008-04-17 16:21:04 +00:00
John Maddock
8e5072e556 Try and fix one remaining zeta test failure.
[SVN r44435]
2008-04-15 17:35:07 +00:00
John Maddock
74b36956cb Fix error rates on Mac OS X.
Fix long double support for pow_test.cpp.

[SVN r44433]
2008-04-15 17:10:18 +00:00
John Maddock
29ebccba73 Attempt fix for Intel on Darwin failures.
[SVN r44432]
2008-04-15 16:36:21 +00:00
John Maddock
c05ff98898 Fix IBM AIX compiler errors.
[SVN r44431]
2008-04-15 16:32:28 +00:00
John Maddock
6c50f2e966 Remove test row that causes problems for VC-7.1 due to a compiler bug.
[SVN r44352]
2008-04-12 16:42:28 +00:00
John Maddock
d6071aded4 Fix declaration order in dist_nc_beta_incl_test.cpp test.
Fix long long usage in sf_modf_incl_test.cpp.
Adjust failure rates in test_zeta.cpp to cope with HP aCC and 128-bit long doubles.

[SVN r44351]
2008-04-12 16:28:57 +00:00
John Maddock
7fd387031c Update tolerance used for skewness test.
[SVN r44189]
2008-04-11 18:12:02 +00:00
John Maddock
4f7c4cfc24 Update error levels for real_concept tests.
[SVN r44188]
2008-04-11 18:08:59 +00:00
John Maddock
1e4560e42b We don't need duplicate using declarations.
[SVN r44187]
2008-04-11 17:57:58 +00:00
John Maddock
fdda9b8350 Disable long double tests on unsupported platforms.
[SVN r44186]
2008-04-11 17:54:47 +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
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