Namespaces
Variants
Views
Actions

std::chi_squared_distribution::chi_squared_distribution

From cppreference.com
< cpp‎ | numeric‎ | random‎ | chi squared distribution
Revision as of 20:30, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
 

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

<td >
explicit chi_squared_distribution( RealType n = 1.0 );
</td>

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

<td >
explicit chi_squared_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