
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Paul A. Bristow Sent: Friday, April 09, 2010 4:10 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] [math/distributions] calculating p-value?
With all Boost.Math using try'n'catch is *ALWAYS* a good idea - to get the helpful error messages.
I forgot to mention if you don't like getting an exception and error message when you pass a 'duff' argument value, (It doesn't only happen from simple 'head banging' causes! ;-) John Maddock has carefully provided the policies mechanism to allow you to alter the behaviour of the package. See the section of policies for some examples - it's not as complicated as it looks. Paul PS A PDF build of the documentation for Boost-1.41 (for those libraries that support it) is now available from the usual sourceforge download site: https://sourceforge.net/projects/boost/files/ in the boost-docs/1.41.0 folder. Direct URL's are: https://sourceforge.net/projects/boost/files/boost-docs/1.41.0/boost_pdf_1_4... (23Mb) https://sourceforge.net/projects/boost/files/boost-docs/1.41.0/boost_pdf_1_4... (22.5Mb) https://sourceforge.net/projects/boost/files/boost-docs/1.41.0/boost_pdf_1_4... (22.2Mb) https://sourceforge.net/projects/boost/files/boost-docs/1.41.0/boost_pdf_1_4... (21Mb) Enjoy! --- Paul A. Bristow Prizet Farmhouse Kendal, UK LA8 8AB +44 1539 561830, mobile +44 7714330204 pbristow@hetp.u-net.com