24#ifndef quantlib_student_t_distribution_hpp
25#define quantlib_student_t_distribution_hpp
27#include <ql/errors.hpp>
28#include <ql/types.hpp>
57 QL_REQUIRE(n > 0,
"invalid parameter for t-distribution");
91 QL_REQUIRE(n > 0,
"invalid parameter for t-distribution");
118 Real accuracy = 1e-6,
119 Size maxIterations = 50)
Cumulative Student t-distribution.
Real operator()(Real x) const
CumulativeStudentDistribution(Integer n)
QL_DEPRECATED typedef Real argument_type
QL_DEPRECATED typedef Real result_type
Inverse cumulative Student t-distribution.
Real operator()(Real x) const
InverseCumulativeStudent(Integer n, Real accuracy=1e-6, Size maxIterations=50)
CumulativeStudentDistribution f_
QL_DEPRECATED typedef Real argument_type
QL_DEPRECATED typedef Real result_type
Real operator()(Real x) const
StudentDistribution(Integer n)
QL_DEPRECATED typedef Real argument_type
QL_DEPRECATED typedef Real result_type
QL_INTEGER Integer
integer number
std::size_t Size
size of a container