|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67222 - trunk/libs/math/example
From: pbristow_at_[hidden]
Date: 2010-12-13 11:47:48
Author: pbristow
Date: 2010-12-13 11:47:45 EST (Mon, 13 Dec 2010)
New Revision: 67222
URL: http://svn.boost.org/trac/boost/changeset/67222
Log:
Added 'no formula to evaluation error
Text files modified:
trunk/libs/math/example/c_error_policy_example.cpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: trunk/libs/math/example/c_error_policy_example.cpp
==============================================================================
--- trunk/libs/math/example/c_error_policy_example.cpp (original)
+++ trunk/libs/math/example/c_error_policy_example.cpp 2010-12-13 11:47:45 EST (Mon, 13 Dec 2010)
@@ -26,7 +26,7 @@
using boost::math::policies::evaluation_error;
using boost::math::policies::errno_on_error;
-//using boost::math::policies::ignore_error;
+using boost::math::policies::ignore_error;
//using namespace boost::math::policies;
//using namespace boost::math; // avoid potential ambiuity with std:: <random>
@@ -36,7 +36,9 @@
domain_error<errno_on_error>, // 'bad' arguments.
pole_error<errno_on_error>, // argument is pole value.
overflow_error<errno_on_error>, // argument value causes overflow.
- evaluation_error<errno_on_error> // evaluation does not converge and may be inaccurate, or worse.
+ evaluation_error<errno_on_error> // evaluation does not converge and may be inaccurate, or worse,
+ // or there is no way known (yet) to implement this evaluation,
+ // for example, kurtosis of non-central beta distribution.
> C_error_policy;
// std
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk