W3cubDocs

/C++

std::student_t_distribution<RealType>::n

RealType n() const;
(since C++11)

Returns the n distribution parameter (number of the degrees of freedom) the distribution was constructed with. The default value is 1.0.

Parameters

(none).

Return value

Floating point value identifying the degrees of freedom of the distribution.

See also

gets or sets the distribution parameter object
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/numeric/random/student_t_distribution/n