Namespaces
Variants
Views
Actions

std::discrete_distribution<IntType>::probabilities

From cppreference.com
< cpp‎ | numeric‎ | random‎ | discrete distribution
Revision as of 10:26, 19 January 2012 by Cubbi (Talk | contribs)

Template:cpp/numeric/random/discrete distribution/sidebar Template:ddcl list begin <tr class="t-dcl ">

<td >
std::vector<double> probabilities() const;
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Obtains a Template:cpp containing the individual probabilities of each integer that is generated by this distribution.

Parameters

(none)

Return value

An object of type Template:cpp

Example

Template:example cpp