Boost logo

Boost-Build :

Subject: Re: [Boost-build] : Linking problem when using inverse_students_t_tail_series() in vc++
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-08-27 04:59:05

>Now in the header file i do:
>#include "boost/math/special_functions/detail/t_distribution_inv.hpp"
>#include "boost/math/constants/constants.hpp"
>#include "boost/math/tools/promotion.hpp"

That's the problem right there, like I said already the "detail" headers
aren't designed to be used on their own, you either need to add

#include <boost/math/special_functions/gamma.hpp>

to bring in the definition of tgamma_delta_ratio or replace all those
includes, with just:

#include <boost/math/distributions/students_t.hpp>

And finally, please be aware that inverse_students_t_tail_series is also a
detail, and might not give even vaguely correct answers over some parts of
the problem domain - see the body of inverse_students_t() in
t_distribution_inv.hpp for the details. Just so you know ;-)

HTH, John.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at