20#ifndef convolved_student_t_hpp
21#define convolved_student_t_hpp
68 const std::vector<Integer>& degreesFreedom = std::vector<Integer>(),
69 const std::vector<Real>&
factors = std::vector<Real>());
76 const std::vector<Real>&
factors()
const {
102 const std::vector<Real>& v1,
103 const std::vector<Real>& v2)
const ;
170 const std::vector<Integer>& degreesFreedom = std::vector<Integer>(),
171 const std::vector<Real>& factors = std::vector<Real>(),
172 Real accuracy = 1.e-6);
Cumulative (generalized) BehrensFisher distribution.
std::vector< Real > polyConvolved_
std::vector< std::vector< Real > > polynCharFnc_
const std::vector< Real > & factors() const
Factors in the linear combination.
Probability density(Real x) const
Returns the probability density of the resulting distribution.
Probability operator()(Real x) const
Returns the cumulative probability of the resulting distribution.
std::vector< Real > factors_
std::vector< Real > convolveVectorPolynomials(const std::vector< Real > &v1, const std::vector< Real > &v2) const
std::vector< Integer > degreesFreedom_
std::vector< Real > polynCharactT(Natural n) const
Student t characteristic polynomials.
const std::vector< Integer > & degreeFreedom() const
Degrees of freedom of the Ts involved in the convolution.
Inverse of the cumulative of the convolution of odd-T distributions.
Real operator()(Probability q) const
Returns the cumulative inverse value.
CumulativeBehrensFisher distrib_
unsigned QL_INTEGER Natural
positive integer
Real Probability
probability
ext::shared_ptr< YieldTermStructure > q