Namespaces
Variants
Views
Actions

std::student_t_distribution<RealType>::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
 
std::student_t_distribution
Member functions
Generation
Characteristics
student_t_distribution::n
(C++11)
Non-member functions
(C++11)(C++11)(until C++20)
(C++11)(C++11)
 
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

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