2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-28 07:22:12 +00:00
Commit Graph

516 Commits

Author SHA1 Message Date
John Maddock
2501ff283e Fix for std libs that don't have denorm support in numeric_limits.
[SVN r47421]
2008-07-14 16:22:03 +00:00
John Maddock
a8e2c5f910 Fix a few regressions with compiler/platform specific workarounds.
[SVN r47420]
2008-07-14 15:26:44 +00:00
John Maddock
980a2cd605 Fixes issue #2033.
[SVN r47318]
2008-07-11 17:57:21 +00:00
John Maddock
d816b0e2ff Merge changes from the Sandbox to Trunk.
Rebuilt docs.

[SVN r47080]
2008-07-04 17:14:37 +00:00
John Maddock
9cf8afd57c Remove/replace non-ASCII characters.
[SVN r46814]
2008-06-28 16:59:32 +00:00
John Maddock
deaa36b8d7 Fix copyright declaration.
[SVN r46805]
2008-06-28 11:24:02 +00:00
John Maddock
4a4271a594 Added missing #include.
Prevented macro substitution of fpclassify.

[SVN r45913]
2008-05-29 16:03:26 +00:00
John Maddock
38812b8a96 Added missing #include.
[SVN r45824]
2008-05-27 17:38:49 +00:00
John Maddock
97bdf5e56d Fixed partial specialization.
[SVN r45585]
2008-05-20 16:54:15 +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
f47f9de505 Sunpro and HPUX fix.
[SVN r45395]
2008-05-15 17:04:31 +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
e909163e72 Fixed import/export code, and added auto-linking support.
[SVN r45214]
2008-05-08 16:07:22 +00:00
John Maddock
4873f71729 Added TR1 header, and tidied up ellint_3 declarations.
[SVN r45127]
2008-05-05 11:09:28 +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
c3acff62f7 Reinstated real_cast to that STLPort tests can pass.
[SVN r44452]
2008-04-16 11:57:29 +00:00
John Maddock
fb220c20dd Add some explicit casts from the FP_* macros to type int, so that comparisons actually work when building with GCC, this is GCC bug report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20589.
[SVN r44434]
2008-04-15 17:30:03 +00:00
John Maddock
8b89996bd5 Add non central distro's to fwd.hpp.
Added needed #include to bessel_ik.hpp.

[SVN r44350]
2008-04-12 16:27:11 +00:00
John Maddock
cd13eecbfa Added needed #includes.
[SVN r44123]
2008-04-09 11:35:36 +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
501072165e Updated minimax docs, and program.
Changed erf/erfc approximations to more efficient versions.

[SVN r43908]
2008-03-28 11:27:38 +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
Paul A. Bristow
2261e271d2 Added more comment and correct spelling mistake.
[SVN r43588]
2008-03-13 10:56:48 +00:00
Paul A. Bristow
c91e03129a Corrected correction in uniform :-( = for ==, again.
[SVN r43587]
2008-03-13 10:55:35 +00:00
Paul A. Bristow
5d73fa8ef1 Changed logic of error as suggested by johneddy101@comcast.net similar to uniform
[SVN r43551]
2008-03-10 17:53:15 +00:00
Paul A. Bristow
f25f6a6d89 Changed logic of error as suggested by johneddy101@comcast.net
[SVN r43545]
2008-03-08 17:47:07 +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
4fb47c61e4 Apply fixes to issue #1658 which fixes some broken URL's.
[SVN r43434]
2008-02-29 09:49:42 +00:00
John Maddock
2396fa311c Fix mode of the weibull distribution.
Add distribution new graphs as PNG and SVG, and change quickbook to reference them.
Update dist graph generator.

[SVN r43430]
2008-02-28 19:12:00 +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
b652dc390c Fix bug that effects the behaviour when the result is negative.
[SVN r43400]
2008-02-23 09:46:43 +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
Paul A. Bristow
6dd0f0d42c Corrected range to permit df == 2
and Added comment(-ed code) about mode with df < 2.

No reply to question about this on Wikipedia 16 Feb 08. 

[SVN r43275]
2008-02-16 10:36:02 +00:00
John Maddock
d77728bffb Ooops, fix comment.
[SVN r43223]
2008-02-11 17:30:28 +00:00
John Maddock
12df5b2419 Updated non central beta cdf to accept both x and 1-x on input: allows greater accuracy when using these routines in the non central F and T distributions.
Updated non central F to take advantage of this.
Added some non central distributions to the graph generator.

[SVN r43222]
2008-02-11 17:21:14 +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
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
04a99ac565 Optimise the sums when we're going to be subtracting the result from 1.
[SVN r42998]
2008-01-28 18:28:16 +00:00