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
John Maddock
700ea50732
Fixes for VC-7.1.
...
[SVN r39478]
2007-09-22 17:00:29 +00:00
John Maddock
54ff3c6535
Fixed gcc-compiler errors (added missing typename's).
...
Fixed pesky warning in normal.hpp
[SVN r39476]
2007-09-22 11:35:26 +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
41b7db31cf
Warning squashing and estimate to find
...
[SVN r39452]
2007-09-21 17:39:04 +00:00
Paul A. Bristow
8daab07912
Warning squashing and estimate to find
...
[SVN r39451]
2007-09-21 17:38:38 +00:00
John Maddock
542dbbce01
Added needed header include.
...
[SVN r39420]
2007-09-20 17:29:40 +00:00
John Maddock
3e53b99430
MSVC specific fix: gets thing building with /Za.
...
[SVN r39407]
2007-09-20 12:36:32 +00:00
Paul A. Bristow
4bd52bfe7a
Changechanged 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 r39402]
2007-09-20 11:37:57 +00:00
Paul A. Bristow
611653a1f8
changed to use
...
if((boost::math::isinf)(x))
{
if(x < 0) return 0;
return 1;
}
to get rid of 4127 warnings
[SVN r39345]
2007-09-17 10:05:26 +00:00
Paul A. Bristow
abc0337ab9
4127 warning squashed
...
[SVN r39343]
2007-09-17 09:17:42 +00:00
Paul A. Bristow
fdef88709d
changed to allow pdf and cdf infinity.
...
[SVN r39310]
2007-09-16 10:09:51 +00:00
Paul A. Bristow
0f852a9292
Try to cure test failures.
...
[SVN r39299]
2007-09-15 15:20:44 +00:00
John Maddock
76acd7ddf3
Fix for Boost.TR1 compatibility: it prevents recursive includes if we do things this way.
...
[SVN r39297]
2007-09-15 11:20:24 +00:00