2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-18 14:12:24 +00:00
Commit Graph

293 Commits

Author SHA1 Message Date
John Maddock
0aa1a09902 Merged changes from Trunk.
[SVN r45478]
2008-05-18 08:29:50 +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
3ccbd30ab3 Merged patches from Trunk.
[SVN r44695]
2008-04-21 13:04:30 +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
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
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
722a2d848d Merged changes in Trunk.
[SVN r40161]
2007-10-18 18:05:13 +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