Commit Graph

49 Commits

Author SHA1 Message Date
Nick Thompson
9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
jzmaddock
646c67d0d9 Remove C++14'isms that crept into tests. 2017-09-07 19:05:36 +01:00
pabristow
c408d7ec1c Restored test_out_of_range to original location as is used by other tests 2017-08-29 17:03:06 +01:00
pabristow
34fd59c372 students t allowing df and x infinite 2017-08-29 15:24:45 +01:00
jzmaddock
ba365b5aaa Enable running of tests with exception handling off.
And fix a few bugs that showed up in the process.
Currently msvc-only (not GCC as Boost.Test doesn't build).
2015-09-05 19:08:28 +01:00
jzmaddock
ee2d3a68af Oh my, fix lots of typos (search and replace). 2015-06-18 18:47:50 +01:00
John Maddock
7858278bec Fix gcc-4.8.x warnings.
Fix some Mingw failures.
Fixes #8855.

[SVN r85131]
2013-07-23 11:09:47 +00:00
John Maddock
fc451ee936 Don't throw exceptions from itrunc/iround if all we're doing is checking to see if the argument is an integer.
Don't propagate no-throw policies inside MPFR's itrunc/iround.
Use normal approximation to student's t quantile when the degrees of freedom is big enough.
Fixes #8837.

[SVN r85075]
2013-07-18 17:31:42 +00:00
John Maddock
fc9da60883 Apply remaining fixes from #8732.
Also adds msb (most significant bit) function to multiprecision.
Fixes #8732.

[SVN r84921]
2013-07-01 15:43:28 +00:00
Gennadiy Rozental
3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
Paul A. Bristow
b164089abb Added infinite degrees of freedom support and other new tests.
[SVN r80116]
2012-08-21 17:36:09 +00:00
Paul A. Bristow
f2e2e08908 Changed to use
if (typeid(RealType) != typeid(boost::math::concepts::real_concept))
    { // Ordinary floats only.

to avoid failure of previous string name comparison by gcc and other platforms.

[SVN r79921]
2012-08-08 09:26:47 +00:00
Paul A. Bristow
a261d44d3e Test of using the 1/eps to switch to normal distribution.
[SVN r79891]
2012-08-06 16:29:38 +00:00
Paul A. Bristow
c9fde3be32 Back to plan A! not defined for v <= k - no infinity from moments.
(TODO use normal for df = infinity?)

[SVN r79837]
2012-08-01 17:12:00 +00:00
Paul A. Bristow
7930b8b8a4 Explicit boost::math::policies::domain_error; and pole_error to avoid complaint of duplicate declaration by Intel-Darwin-12. (but unclear where a duplicate declaration actually exists).
[SVN r79806]
2012-07-30 19:53:14 +00:00
Paul A. Bristow
571ed0ebaa Further revision of students t tests, making inline to hope to avoid gcc compile problem.
[SVN r79795]
2012-07-29 09:45:42 +00:00
Paul A. Bristow
76c9e6d678 Revised checks on moments and return values.
[SVN r79769]
2012-07-27 15:29:44 +00:00
Paul A. Bristow
9c3898d306 Revised for Trac #7717
[SVN r79760]
2012-07-26 18:04:02 +00:00
John Maddock
41bd4bd442 Update to use new out-of-bounds error checking.
Refs #6934.

[SVN r78771]
2012-05-30 16:52:18 +00:00
John Maddock
3e9242ade2 Improve testing of error conditions and fix any errors detected.
Takes care of distributions normal-weibull.
Refs #6937.

[SVN r78726]
2012-05-28 17:42:50 +00:00
Steven Watanabe
3524499fc0 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
f11d1c3c2b Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
John Maddock
96f28fa442 Up the tolerance for the new quantile tests, as these fail for sun otherwise.
[SVN r64624]
2010-08-06 08:26:16 +00:00
John Maddock
b11676fa67 Added test cases for issue #4504.
Tidied up inverse-Student's t evaluation a touch.
Fixes #4504.

[SVN r64597]
2010-08-04 15:47:30 +00:00
John Maddock
2246b77395 Change tests to link to external Boost.Test library as this speeds build times by several factors when building with Intel C++.
Change fpclassify to use our code rather than std::fpclassify with Intel C++ as it doesn't always compile the latter.

[SVN r51576]
2009-03-03 17:16:56 +00:00
Paul A. Bristow
b0c6714dfa warning suppressed in tolerance
[SVN r50066]
2008-12-02 12:45:36 +00:00
John Maddock
1b7401b4c0 Merged changes from Trunk.
[SVN r44090]
2008-04-07 15:43:09 +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
Paul A. Bristow
76814e7e00 Warning squashing and estimate to find
[SVN r39453]
2007-09-21 17:39:55 +00:00
Paul A. Bristow
cb82bea11e Paul's Big policy revison
[SVN r38413]
2007-08-03 10:13:47 +00:00
Paul A. Bristow
4863b82990 added median tests.
[SVN r3541]
2006-12-20 15:50:50 +00:00
John Maddock
24066f892f Updated to call overflow_error when the result is infinite.
[SVN r3311]
2006-10-25 09:38:24 +00:00
Paul A. Bristow
14bb25eb12 Add test for two convenient constructions.
[SVN r3296]
2006-10-23 10:32:56 +00:00
John Maddock
5f5d873826 Added concept checks and concept archetypes.
Uprated tests and distributions to match concept requirements.


[SVN r3251]
2006-10-13 17:37:27 +00:00
John Maddock
47690421b6 Added remez and minima tests.
Added some mimimal fixes to get the code to compile with Borland-5.8.2, although frankly it's more trouble than it's worth.


[SVN r3200]
2006-09-16 16:41:18 +00:00
Paul A. Bristow
fb79977d70 Spelling corrections and re-compile & run OK and add output.
[SVN r3172]
2006-08-31 15:19:32 +00:00
John Maddock
00a347bee0 Removed remaining old style distribution code (we can get it back from cvs if necessary).
Updated error handling.
Added better chi-squared tests.


[SVN r3165]
2006-08-29 16:41:07 +00:00
John Maddock
9d7123eecf More or less completed normal/binomial/students-t distributions.
Updated docs and tests.


[SVN r3160]
2006-08-25 18:03:48 +00:00
Paul A. Bristow
463715c9e4 quieted warmings & added test output.
[SVN r3143]
2006-08-14 11:38:17 +00:00
John Maddock
4e98273785 Added upper cap on the number of iterations permitted in series evaluation.
Fixed beta function so it's better behaved with very large arguments.
Updated tests.


[SVN r3139]
2006-08-13 17:42:17 +00:00
John Maddock
a436522863 Disable long double tests where not supported.
[SVN r3137]
2006-08-12 18:03:54 +00:00
Paul A. Bristow
dab4cd3c29 attempted add a test for t = 0 and varying degrees of freedom - fails for big df >= 1e16.
[SVN r3132]
2006-08-12 13:29:38 +00:00
Paul A. Bristow
530d38dd15 quieted C4610 doesn't look helpful. Added copyright JM and a refercen.
Also removed a conversion warning with a static cast<RealType>, added output and commited.


[SVN r3128]
2006-08-12 11:06:32 +00:00
Paul A. Bristow
9895ce48e1 Use distributions instead of dist.
[SVN r3125]
2006-08-11 10:36:18 +00:00
John Maddock
5c645698c3 Added new style Student's t code and examples.
Added tutorial for the new stats code.


[SVN r3121]
2006-08-10 12:53:07 +00:00
Paul A. Bristow
a00f098f63 fiddling with tolerance and inverse tests added.
[SVN r3049]
2006-07-03 08:55:09 +00:00
Paul A. Bristow
dc28202d2d updated to use argument promoted versions. PAB 27 Jun 2006
[SVN r3035]
2006-06-27 09:48:29 +00:00
Paul A. Bristow
fbc1c85949 1st commit PAB 18 Jun 2006
[SVN r2995]
2006-06-19 09:10:03 +00:00