
From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of
Avinash K. Hathiramani
Sent: Thursday, August 02, 2012 2:28 AM
To: boost-users@lists.boost.org
Subject: [Boost-users] Using
Unfortunately I am not able to use this without getting an error. Here is my code:
#include
This does not give any results and if I put in an error catch here, I get the following message:
"Error in function boost::math::gamma_p_derivative<e>(e, e): numeric overflow".
I do not follow what is going wrong and I am able to get results for both the CDF and PDF with the same parameters from MATLAB (and an on-line calculator which I found for this distribution), so I do not think that the parameters are invalid.
I would be grateful if anyone can advise me as to whether I am doing anything incorrectly here.
I apologise in advance if I have missed anything obvious, or unintentionally broken any of the discussion policies (it is my first time posting on this forum).
Well, posting a ticket on Trac is the best way for bugs, but in this case, I can't see what the problem is and attached my version of your example which seems to work OK. Ask again if this still doesn't work for you. Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com