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

398 Commits

Author SHA1 Message Date
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
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
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
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
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
Andrew Sutton
ccb9b8c656 Added a modification to the extreme value distribution. This allows the specification
of a sign to determine the minimum or maximum case. Note that the original extreme value
distribution refers to the maximum case. This class will need some work. Discussion
leaned towards the use of an enumerated parameter rather than a real-typed sign
for the determination of min/max case.


[SVN r42762]
2008-01-14 13:54:49 +00:00
Andrew Sutton
8e24be2ffe Added stubs for new distributions. These are neither fully tested nor documented and,
in some cases, incomplete. However, migrating them into the sandbox will hopefully
help motivate their completion.


[SVN r42760]
2008-01-14 13:36:23 +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
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
Paul A. Bristow
c327e0ac0f Changed support range to avoid a discontinuity at zero.
[SVN r42124]
2007-12-17 15:58:23 +00:00
Paul A. Bristow
72e5db15f6 Changed support range to avoid a discontinuity at zero.
[SVN r42123]
2007-12-17 15:51:53 +00:00
Paul A. Bristow
99cf02892c Changed support range to avoid a discontinuity at zero.
[SVN r42122]
2007-12-17 15:51:08 +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
Paul A. Bristow
f731fd35d0 Removed obselete reference to parameter arity. Previous deletion caused lots of errors. Hope this is now OK.
[SVN r40402]
2007-10-24 08:56:38 +00:00
Paul A. Bristow
8cf0e97cb7 Removed obselete reference to parameter arity
[SVN r40369]
2007-10-23 18:54:39 +00:00
John Maddock
54ce0c0959 Fix for negative guesses.
[SVN r40368]
2007-10-23 18:41:17 +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
3a02a8b625 Fix #include case.
Add some needed forward declarations.

[SVN r39697]
2007-10-05 09:56:06 +00:00
John Maddock
899f4fbfd1 Added some more descriptive information to error messages.
[SVN r39667]
2007-10-03 09:32:35 +00:00
John Maddock
1c5fffdd28 Added workaround for apparently broken std::fmod(long double,long double) on Darwin.
Added more tracing macros to try and track down remaining Darwin issues.

[SVN r39650]
2007-10-02 09:30:41 +00:00
John Maddock
01604e79d3 Added some more trace messages.
[SVN r39637]
2007-10-01 10:24:11 +00:00
Paul A. Bristow
5d4d94b512 Surpressed unreachable code warning.
[SVN r39636]
2007-10-01 10:05:21 +00:00
John Maddock
164bbbf473 Updated debug-tracing macros.
Fixed epsilon so it works on MacOS with a 106-bit long double now.

[SVN r39593]
2007-09-29 09:40:16 +00:00