Boost logo

Boost Users :

Subject: Re: [Boost-users] Using <boost/math/distributions/non_central_t.hpp> gives unexpected error
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-08-02 06:17:22


>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).

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?)

John.


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