Namespaces
Variants
Views
Actions

std::student_t_distribution::n

From cppreference.com
 
 
 
Pseudo-random number generation
Uniform random bit generators
Engines and engine adaptors
Non-deterministic generator
Distributions
Uniform distributions
Bernoulli distributions
Poisson distributions
Normal distributions
Sampling distributions
Seed Sequences
(C++11)
C library
 
 
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.

[edit] Parameters

(none)

[edit] Return value

Floating point value identifying the degrees of freedom of the distribution

[edit] See also

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