Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > bfb47da7e0322bcb0e23e4b1838d9db9 > files > 1563

libstdc++-docs-8.4.0-1.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<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="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libstdc++
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a01536.html','');});
/* @license-end */
</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="a01476.html">Numerics</a> &raquo; <a class="el" href="a01494.html">Random Number Generation</a> &raquo; <a class="el" href="a01535.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="a01536.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="a06303.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="a01536.html#gaca2a091ac2ef5b09deba9d1d185b16ad">std::operator!=</a> (const <a class="el" href="a07939.html">std::uniform_int_distribution</a>&lt; _IntType &gt; &amp;__d1, const <a class="el" href="a07939.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="a01536.html#gae4180334ebfbfbbae6f1f9901819a52e">std::operator!=</a> (const <a class="el" href="a06303.html">std::uniform_real_distribution</a>&lt; _IntType &gt; &amp;__d1, const <a class="el" href="a06303.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="a02463.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01536.html#ga268e36f52e1a1ba938eeaa95509796ca">std::operator&lt;&lt;</a> (<a class="el" href="a02463.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp;, const <a class="el" href="a07939.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="a02463.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01536.html#gad31a64335591da810bc4719b847783ec">std::operator&lt;&lt;</a> (<a class="el" href="a02463.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp;, const <a class="el" href="a06303.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="a02459.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01536.html#gab49649ed7cc5cb819ce52620f227b1a7">std::operator&gt;&gt;</a> (<a class="el" href="a02459.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp;, <a class="el" href="a07939.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="a02459.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01536.html#gafb5c87acd910ec70edaedef33cf32aee">std::operator&gt;&gt;</a> (<a class="el" href="a02459.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp;, <a class="el" href="a06303.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 id="gaca2a091ac2ef5b09deba9d1d185b16ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaca2a091ac2ef5b09deba9d1d185b16ad">&#9670;&nbsp;</a></span>operator!=() <span class="overload">[1/2]</span></h2>

<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="a07939.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="a07939.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 class="definition">Definition at line <a class="el" href="a00452_source.html#l01660">1660</a> of file <a class="el" href="a00452_source.html">random.h</a>.</p>

</div>
</div>
<a id="gae4180334ebfbfbbae6f1f9901819a52e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae4180334ebfbfbbae6f1f9901819a52e">&#9670;&nbsp;</a></span>operator!=() <span class="overload">[2/2]</span></h2>

<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="a06303.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="a06303.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 class="definition">Definition at line <a class="el" href="a00452_source.html#l01874">1874</a> of file <a class="el" href="a00452_source.html">random.h</a>.</p>

</div>
</div>
<a id="ga268e36f52e1a1ba938eeaa95509796ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga268e36f52e1a1ba938eeaa95509796ca">&#9670;&nbsp;</a></span>operator&lt;&lt;() <span class="overload">[1/2]</span></h2>

<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="a02463.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp; std::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02463.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="a07939.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 class="definition">Definition at line <a class="el" href="a17058_source.html#l00874">874</a> of file <a class="el" href="a17058_source.html">bits/random.tcc</a>.</p>

<p class="reference">References <a class="el" href="a00284_source.html#l00370">std::basic_ios&lt; _CharT, _Traits &gt;::fill()</a>, <a class="el" href="a00383_source.html#l00621">std::ios_base::flags()</a>, <a class="el" href="a00383_source.html#l01001">std::left()</a>, <a class="el" href="a00383_source.html#l01051">std::scientific()</a>, and <a class="el" href="a00284_source.html#l00449">std::basic_ios&lt; _CharT, _Traits &gt;::widen()</a>.</p>

</div>
</div>
<a id="gad31a64335591da810bc4719b847783ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad31a64335591da810bc4719b847783ec">&#9670;&nbsp;</a></span>operator&lt;&lt;() <span class="overload">[2/2]</span></h2>

<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="a02463.html">std::basic_ostream</a>&lt; _CharT, _Traits &gt; &amp; std::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02463.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="a06303.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 class="definition">Definition at line <a class="el" href="a17058_source.html#l00933">933</a> of file <a class="el" href="a17058_source.html">bits/random.tcc</a>.</p>

<p class="reference">References <a class="el" href="a00284_source.html#l00370">std::basic_ios&lt; _CharT, _Traits &gt;::fill()</a>, <a class="el" href="a00383_source.html#l00621">std::ios_base::flags()</a>, <a class="el" href="a00383_source.html#l01001">std::left()</a>, <a class="el" href="a00383_source.html#l00691">std::ios_base::precision()</a>, <a class="el" href="a00383_source.html#l01051">std::scientific()</a>, and <a class="el" href="a00284_source.html#l00449">std::basic_ios&lt; _CharT, _Traits &gt;::widen()</a>.</p>

</div>
</div>
<a id="gab49649ed7cc5cb819ce52620f227b1a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab49649ed7cc5cb819ce52620f227b1a7">&#9670;&nbsp;</a></span>operator&gt;&gt;() <span class="overload">[1/2]</span></h2>

<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="a02459.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp; std::operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02459.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="a07939.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 class="definition">Definition at line <a class="el" href="a17058_source.html#l00895">895</a> of file <a class="el" href="a17058_source.html">bits/random.tcc</a>.</p>

<p class="reference">References <a class="el" href="a00383_source.html#l01018">std::dec()</a>, <a class="el" href="a00383_source.html#l00621">std::ios_base::flags()</a>, <a class="el" href="a00617_source.html#l00135">std::uniform_int_distribution&lt; _IntType &gt;::param()</a>, and <a class="el" href="a00383_source.html#l00944">std::skipws()</a>.</p>

</div>
</div>
<a id="gafb5c87acd910ec70edaedef33cf32aee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafb5c87acd910ec70edaedef33cf32aee">&#9670;&nbsp;</a></span>operator&gt;&gt;() <span class="overload">[2/2]</span></h2>

<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="a02459.html">std::basic_istream</a>&lt; _CharT, _Traits &gt; &amp; std::operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02459.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="a06303.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 class="definition">Definition at line <a class="el" href="a17058_source.html#l00957">957</a> of file <a class="el" href="a17058_source.html">bits/random.tcc</a>.</p>

<p class="reference">References <a class="el" href="a00383_source.html#l00621">std::ios_base::flags()</a>, <a class="el" href="a00452_source.html#l01783">std::uniform_real_distribution&lt; _RealType &gt;::param()</a>, and <a class="el" href="a00383_source.html#l00944">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.15 </li>
  </ul>
</div>
</body>
</html>