<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libstdc++: std::discrete_distribution< _IntType >::param_type Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libstdc++</div> </td> </tr> </tbody> </table> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('a00458.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">std::discrete_distribution< _IntType >::param_type Struct Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="std::discrete_distribution::param_type" --> <p><a href="a01992.html">List of all members.</a></p> <h2><a name="pub-types"></a> Public Types</h2> <ul> <li><a class="anchor" id="af5c7f8b87afadc715541162fbfc6c78e"></a><!-- doxytag: member="std::discrete_distribution::param_type::distribution_type" ref="af5c7f8b87afadc715541162fbfc6c78e" args="" --> typedef <a class="el" href="a00457.html">discrete_distribution</a><br class="typebreak"/> < _IntType > <b>distribution_type</b> </ul> <h2><a name="pub-methods"></a> Public Member Functions</h2> <ul> <li><a class="anchor" id="ab518ed85240ea0d6a434e574d7063d73"></a><!-- doxytag: member="std::discrete_distribution::param_type::param_type" ref="ab518ed85240ea0d6a434e574d7063d73" args="(_InputIterator __wbegin, _InputIterator __wend)" --> template<typename _InputIterator > <b>param_type</b> (_InputIterator __wbegin, _InputIterator __wend) <li><a class="anchor" id="ad3bb5840a28495f8e9d6050669a5683a"></a><!-- doxytag: member="std::discrete_distribution::param_type::param_type" ref="ad3bb5840a28495f8e9d6050669a5683a" args="(size_t __nw, double __xmin, double __xmax, _Func __fw)" --> template<typename _Func > <b>param_type</b> (size_t __nw, double __xmin, double __xmax, _Func __fw) <li><a class="anchor" id="a3c077c64b9fef881e9cfd38ce1585e68"></a><!-- doxytag: member="std::discrete_distribution::param_type::param_type" ref="a3c077c64b9fef881e9cfd38ce1585e68" args="(const param_type &)" --> <b>param_type</b> (const <a class="el" href="a00458.html">param_type</a> &) <li><a class="anchor" id="a39bf4faaa1442da34bdfcd9a33049f41"></a><!-- doxytag: member="std::discrete_distribution::param_type::param_type" ref="a39bf4faaa1442da34bdfcd9a33049f41" args="(initializer_list< double > __wil)" --> <b>param_type</b> (<a class="el" href="a00524.html">initializer_list</a>< double > __wil) <li><a class="anchor" id="a2754670438f5f964108ec908122868fa"></a><!-- doxytag: member="std::discrete_distribution::param_type::operator=" ref="a2754670438f5f964108ec908122868fa" args="(const param_type &)" --> <a class="el" href="a00458.html">param_type</a> & <b>operator=</b> (const <a class="el" href="a00458.html">param_type</a> &) <li><a class="anchor" id="aedb80a54980036b07572b088a101a83a"></a><!-- doxytag: member="std::discrete_distribution::param_type::probabilities" ref="aedb80a54980036b07572b088a101a83a" args="() const " --> <a class="el" href="a00739.html">std::vector</a>< double > <b>probabilities</b> () const </ul> <h2><a name="friends"></a> Friends</h2> <ul> <li><a class="anchor" id="aacab75fa62d1df04b1c5c23dbe583a47"></a><!-- doxytag: member="std::discrete_distribution::param_type::discrete_distribution< _IntType >" ref="aacab75fa62d1df04b1c5c23dbe583a47" args="" --> class <b>discrete_distribution< _IntType ></b> <li><a class="anchor" id="a7f8ed5a8824dad2f50184b2ad5db7ee5"></a><!-- doxytag: member="std::discrete_distribution::param_type::operator==" ref="a7f8ed5a8824dad2f50184b2ad5db7ee5" args="(const param_type &__p1, const param_type &__p2)" --> bool <b>operator==</b> (const <a class="el" href="a00458.html">param_type</a> &__p1, const <a class="el" href="a00458.html">param_type</a> &__p2) </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<typename _IntType = int><br/> struct std::discrete_distribution< _IntType >::param_type</h3> <p>Parameter type. </p> <p>Definition at line <a class="el" href="a00997_source.html#l04675">4675</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p> </div><hr/>The documentation for this struct was generated from the following files:<ul> <li><a class="el" href="a00997_source.html">random.h</a></li> <li><a class="el" href="a00998_source.html">random.tcc</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="a01137.html">std</a> </li> <li class="navelem"><a class="el" href="a00457.html">discrete_distribution</a> </li> <li class="navelem"><a class="el" href="a00458.html">param_type</a> </li> <li class="footer">Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li> </ul> </div> </body> </html>