public member function
<random>

std::student_t_distribution::n

result_type n() const;
Degrees of freedom
Returns the degrees of freedom (parameter n) associated with the student_t_distribution object.

This parameter represents the theoretical number of samples (minus one) originating the distribution.

This parameter is passed as argument to the object's constructor.

Parameters

none

Return value

The n parameter (degrees of freedom) associated with the distribution object.

Complexity

Constant.

See also