Condividi tramite


student_t_distribution::student_t_distribution

Constructs the distribution.

student_t_distribution(RealType n0 = 1);
explicit student_t_distribution(const param_type& par0);

Parameters

  • n0
    The n distribution parameter.

  • par0
    The parameter package used to construct the distribution.

Remarks

Precondition: 0.0 < n0

The first constructor constructs an object whose stored value stored_n holds the value n0.

The second constructor constructs an object whose stored parameters are initialized from par0.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

student_t_distribution Class

Other Resources

<random> Members