Namespaces
Variants
Views
Actions

std::student_t_distribution::student_t_distribution

From cppreference.com
< cpp‎ | numeric‎ | random‎ | student t distribution
Revision as of 17:10, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
 

Template:ddcl list begin <tr class="t-dcl ">

<td >
explicit student_t_distribution( RealType n = 1 );
</td>

<td > (1) </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">

<td >
explicit student_t_distribution( const param_type& params );
</td>

<td > (2) </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Constructs new distribution object. The first version uses n as the distribution parameter, the second version uses params as the distribution parameter.

Parameters

n - the n distribution parameter (degrees of freedom)
params - the distribution parameter set