Boost logo

Boost Users :

Subject: Re: [Boost-users] Using <boost/math/distributions/non_central_t.hpp> gives unexpected error
From: Avinash K. Hathiramani (a_hat__at_[hidden])
Date: 2012-08-02 09:52:44


Hi Paul and John,
Thank you both for your replies.
Paul - thank you for attaching your .cpp. I have created a new project and simply copied and pasted your exact code into my main, but I still get the same error as before. Please see below for some additional information on my setup.
> Your code works for me with both VC10 and gcc-4.6 Mingw, both output:
>
> Probability density of Student's t is 0.425022
> Cumulative probability of Student's t is 0.425022
>
> Can you give us details of the compiler/platform and any other relevant
> information (for example have you set any of the policy changing macros
> described in the docs?)
>

I am using Code::Blocks 10.05, and using the gcc-3.81 Mingw compiler. (My system is Windows XP Professional (Service Pack 3), 32-bit). I have not used Boost previously and am not using too many of it's functions at the moment, so I have not made any changes to the settings (or set any policy changing macros). I'm still a bit new to using external libraries, so I've just done the most basic installation. Also, I am using Boost 1.49.0 - sorry I should have mentioned this in my first post.
Please let me know if there is any other information which I can provide to help.
Many thanks,
Avinash
P.S. If necessary I can raise a ticket on Trac instead of continuing this thread - please let me know if/when that becomes appropriate.

                                               



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net