Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f0832865ec1f56b99d190174ffc30cd0 > files > 3919

libstdc++-docs-4.8.2-3.mga4.noarch.rpm

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>libstdc++: Uniform Distributions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<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>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a01747.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Uniform Distributions<div class="ingroups"><a class="el" href="a01746.html">Random Number Distributions</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for Uniform Distributions:</div>
<div class="dyncontent">
<center><table><tr><td><div class="center"><iframe scrolling="no" frameborder="0" src="a01747.svg" width="382" height="35"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</td></tr></table></center>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01007.html">std::uniform_int_distribution&lt; _IntType &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01009.html">std::uniform_real_distribution&lt; _RealType &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaca2a091ac2ef5b09deba9d1d185b16ad"><td class="memTemplParams" colspan="2">template&lt;typename _IntType &gt; </td></tr>
<tr class="memitem:gaca2a091ac2ef5b09deba9d1d185b16ad"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01747.html#gaca2a091ac2ef5b09deba9d1d185b16ad">std::operator!=</a> (const <a class="el" href="a01007.html">std::uniform_int_distribution</a>&lt; _IntType &gt; &amp;__d1, const <a class="el" href="a01007.html">std::uniform_int_distribution</a>&lt; _IntType &gt; &amp;__d2)</td></tr>
<tr class="separator:gaca2a091ac2ef5b09deba9d1d185b16ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae4180334ebfbfbbae6f1f9901819a52e"><td class="memTemplParams" colspan="2">template&lt;typename _IntType &gt; </td></tr>
<tr class="memitem:gae4180334ebfbfbbae6f1f9901819a52e"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01747.html#gae4180334ebfbfbbae6f1f9901819a52e">std::operator!=</a> (const <a class="el" href="a01009.html">std::uniform_real_distribution</a>&lt; _IntType &gt; &amp;__d1, const <a class="el" href="a01009.html">std::uniform_real_distribution</a>&lt; _IntType &gt; &amp;__d2)</td></tr>
<tr class="separator:gae4180334ebfbfbbae6f1f9901819a52e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga268e36f52e1a1ba938eeaa95509796ca"><td class="memTemplParams" colspan="2">template&lt;typename _IntType , typename _CharT , typename _Traits &gt; </td></tr>
<tr class="memitem:ga268e36f52e1a1ba938eeaa95509796ca"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="a00451.html">std::basic_ostream</a>&lt; _CharT, <br class="typebreak"/>
_Traits &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01747.html#ga268e36f52e1a1ba938eeaa95509796ca">std::operator&lt;&lt;</a> (<a class="el" href="a00451.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp;, const <a class="el" href="a01007.html">std::uniform_int_distribution</a>&lt; _IntType &gt; &amp;)</td></tr>
<tr class="separator:ga268e36f52e1a1ba938eeaa95509796ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad31a64335591da810bc4719b847783ec"><td class="memTemplParams" colspan="2">template&lt;typename _RealType , typename _CharT , typename _Traits &gt; </td></tr>
<tr class="memitem:gad31a64335591da810bc4719b847783ec"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="a00451.html">std::basic_ostream</a>&lt; _CharT, <br class="typebreak"/>
_Traits &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01747.html#gad31a64335591da810bc4719b847783ec">std::operator&lt;&lt;</a> (<a class="el" href="a00451.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp;, const <a class="el" href="a01009.html">std::uniform_real_distribution</a>&lt; _RealType &gt; &amp;)</td></tr>
<tr class="separator:gad31a64335591da810bc4719b847783ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab49649ed7cc5cb819ce52620f227b1a7"><td class="memTemplParams" colspan="2">template&lt;typename _IntType , typename _CharT , typename _Traits &gt; </td></tr>
<tr class="memitem:gab49649ed7cc5cb819ce52620f227b1a7"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="a00450.html">std::basic_istream</a>&lt; _CharT, <br class="typebreak"/>
_Traits &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01747.html#gab49649ed7cc5cb819ce52620f227b1a7">std::operator&gt;&gt;</a> (<a class="el" href="a00450.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp;, <a class="el" href="a01007.html">std::uniform_int_distribution</a>&lt; _IntType &gt; &amp;)</td></tr>
<tr class="separator:gab49649ed7cc5cb819ce52620f227b1a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafb5c87acd910ec70edaedef33cf32aee"><td class="memTemplParams" colspan="2">template&lt;typename _RealType , typename _CharT , typename _Traits &gt; </td></tr>
<tr class="memitem:gafb5c87acd910ec70edaedef33cf32aee"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="a00450.html">std::basic_istream</a>&lt; _CharT, <br class="typebreak"/>
_Traits &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01747.html#gafb5c87acd910ec70edaedef33cf32aee">std::operator&gt;&gt;</a> (<a class="el" href="a00450.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp;, <a class="el" href="a01009.html">std::uniform_real_distribution</a>&lt; _RealType &gt; &amp;)</td></tr>
<tr class="separator:gafb5c87acd910ec70edaedef33cf32aee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaca2a091ac2ef5b09deba9d1d185b16ad"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _IntType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool std::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a01007.html">std::uniform_int_distribution</a>&lt; _IntType &gt; &amp;&#160;</td>
          <td class="paramname"><em>__d1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01007.html">std::uniform_int_distribution</a>&lt; _IntType &gt; &amp;&#160;</td>
          <td class="paramname"><em>__d2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return true if two uniform integer distributions have different parameters. </p>

<p>Definition at line <a class="el" href="a01452_source.html#l01825">1825</a> of file <a class="el" href="a01452_source.html">random.h</a>.</p>

</div>
</div>
<a class="anchor" id="gae4180334ebfbfbbae6f1f9901819a52e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _IntType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool std::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a01009.html">std::uniform_real_distribution</a>&lt; _IntType &gt; &amp;&#160;</td>
          <td class="paramname"><em>__d1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01009.html">std::uniform_real_distribution</a>&lt; _IntType &gt; &amp;&#160;</td>
          <td class="paramname"><em>__d2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return true if two uniform real distributions have different parameters. </p>

<p>Definition at line <a class="el" href="a01452_source.html#l02034">2034</a> of file <a class="el" href="a01452_source.html">random.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga268e36f52e1a1ba938eeaa95509796ca"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _IntType , typename _CharT , typename _Traits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00451.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp; std::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00451.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp;&#160;</td>
          <td class="paramname"><em>__os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01007.html">std::uniform_int_distribution</a>&lt; _IntType &gt; &amp;&#160;</td>
          <td class="paramname"><em>__x</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Inserts a uniform_int_distribution random number distribution <code>__x</code> into the output stream <code>os</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__os</td><td>An output stream. </td></tr>
    <tr><td class="paramname">__x</td><td>A uniform_int_distribution random number distribution.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The output stream with the state of <code>__x</code> inserted or in an error state. </dd></dl>

<p>Definition at line <a class="el" href="a01453_source.html#l01029">1029</a> of file <a class="el" href="a01453_source.html">bits/random.tcc</a>.</p>

<p>References <a class="el" href="a01315_source.html#l00551">std::ios_base::flags()</a>, <a class="el" href="a01315_source.html#l00916">std::left()</a>, and <a class="el" href="a01315_source.html#l00966">std::scientific()</a>.</p>

</div>
</div>
<a class="anchor" id="gad31a64335591da810bc4719b847783ec"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType , typename _CharT , typename _Traits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00451.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp; std::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00451.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp;&#160;</td>
          <td class="paramname"><em>__os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01009.html">std::uniform_real_distribution</a>&lt; _RealType &gt; &amp;&#160;</td>
          <td class="paramname"><em>__x</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Inserts a uniform_real_distribution random number distribution <code>__x</code> into the output stream <code>__os</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__os</td><td>An output stream. </td></tr>
    <tr><td class="paramname">__x</td><td>A uniform_real_distribution random number distribution.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The output stream with the state of <code>__x</code> inserted or in an error state. </dd></dl>

<p>Definition at line <a class="el" href="a01453_source.html#l01088">1088</a> of file <a class="el" href="a01453_source.html">bits/random.tcc</a>.</p>

<p>References <a class="el" href="a01315_source.html#l00551">std::ios_base::flags()</a>, <a class="el" href="a01315_source.html#l00916">std::left()</a>, and <a class="el" href="a01315_source.html#l00966">std::scientific()</a>.</p>

</div>
</div>
<a class="anchor" id="gab49649ed7cc5cb819ce52620f227b1a7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _IntType , typename _CharT , typename _Traits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00450.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp; std::operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00450.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp;&#160;</td>
          <td class="paramname"><em>__is</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01007.html">std::uniform_int_distribution</a>&lt; _IntType &gt; &amp;&#160;</td>
          <td class="paramname"><em>__x</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Extracts a uniform_int_distribution random number distribution <code>__x</code> from the input stream <code>__is</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__is</td><td>An input stream. </td></tr>
    <tr><td class="paramname">__x</td><td>A uniform_int_distribution random number generator engine.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The input stream with <code>__x</code> extracted or in an error state. </dd></dl>

<p>Definition at line <a class="el" href="a01453_source.html#l01050">1050</a> of file <a class="el" href="a01453_source.html">bits/random.tcc</a>.</p>

<p>References <a class="el" href="a01315_source.html#l00933">std::dec()</a>, <a class="el" href="a01315_source.html#l00551">std::ios_base::flags()</a>, <a class="el" href="a01452_source.html#l01739">std::uniform_int_distribution&lt; _IntType &gt;::param()</a>, and <a class="el" href="a01315_source.html#l00859">std::skipws()</a>.</p>

</div>
</div>
<a class="anchor" id="gafb5c87acd910ec70edaedef33cf32aee"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType , typename _CharT , typename _Traits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00450.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp; std::operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00450.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp;&#160;</td>
          <td class="paramname"><em>__is</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01009.html">std::uniform_real_distribution</a>&lt; _RealType &gt; &amp;&#160;</td>
          <td class="paramname"><em>__x</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Extracts a uniform_real_distribution random number distribution <code>__x</code> from the input stream <code>__is</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__is</td><td>An input stream. </td></tr>
    <tr><td class="paramname">__x</td><td>A uniform_real_distribution random number generator engine.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The input stream with <code>__x</code> extracted or in an error state. </dd></dl>

<p>Definition at line <a class="el" href="a01453_source.html#l01112">1112</a> of file <a class="el" href="a01453_source.html">bits/random.tcc</a>.</p>

<p>References <a class="el" href="a01315_source.html#l00551">std::ios_base::flags()</a>, <a class="el" href="a01452_source.html#l01943">std::uniform_real_distribution&lt; _RealType &gt;::param()</a>, and <a class="el" href="a01315_source.html#l00859">std::skipws()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>