20#ifndef convolved_student_t_hpp
21#define convolved_student_t_hpp
23#include <ql/types.hpp>
79 const std::vector<Integer>& degreesFreedom = std::vector<Integer>(),
80 const std::vector<Real>&
factors = std::vector<Real>());
87 const std::vector<Real>&
factors()
const {
113 const std::vector<Real>& v1,
114 const std::vector<Real>& v2)
const ;
192 const std::vector<Integer>& degreesFreedom = std::vector<Integer>(),
193 const std::vector<Real>& factors = std::vector<Real>(),
194 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.
QL_DEPRECATED typedef Probability result_type
Probability operator()(Real x) const
Returns the cumulative probability of the resulting distribution.
std::vector< Real > factors_
QL_DEPRECATED typedef Real argument_type
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_
QL_DEPRECATED typedef Probability argument_type
QL_DEPRECATED typedef Real result_type
unsigned QL_INTEGER Natural
positive integer
Real Probability
probability