Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > c74ab286c3d46f9b82671d206e43a74b > files > 748

libstdc++-docs-4.6.3-2.fc15.i686.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"/>
<title>libstdc++: std::weibull_distribution&lt; _RealType &gt; Class Template 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('a00742.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">std::weibull_distribution&lt; _RealType &gt; Class Template Reference<div class="ingroups"><a class="el" href="a01211.html">Poisson Distributions</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="std::weibull_distribution" -->
<p>A <a class="el" href="a00742.html" title="A weibull_distribution random number distribution.">weibull_distribution</a> random number distribution.  
 <a href="a00742.html#details">More...</a></p>

<p><a href="a02441.html">List of all members.</a></p>
<h2><a name="nested-classes"></a>
Classes</h2>
<ul>
<li>struct <a class="el" href="a00743.html">param_type</a>
</ul>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef _RealType <a class="el" href="a00742.html#a8d02d8c1098c7944f5efdfed5824bed1">result_type</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="anchor" id="ac057e81f3aab64ec19d7e4d109cf2546"></a><!-- doxytag: member="std::weibull_distribution::weibull_distribution" ref="ac057e81f3aab64ec19d7e4d109cf2546" args="(_RealType __a=_RealType(1), _RealType __b=_RealType(1))" -->
<b>weibull_distribution</b> (_RealType __a=_RealType(1), _RealType __b=_RealType(1))
<li><a class="anchor" id="a8a2d0af34f1c892250e1398a6db245be"></a><!-- doxytag: member="std::weibull_distribution::weibull_distribution" ref="a8a2d0af34f1c892250e1398a6db245be" args="(const param_type &amp;__p)" -->
<b>weibull_distribution</b> (const <a class="el" href="a00743.html">param_type</a> &amp;__p)
<li>_RealType <a class="el" href="a00742.html#ac7e7b782763905822ed27a69e7bbd187">a</a> () const 
<li>_RealType <a class="el" href="a00742.html#af5d19ffb93072d935fec75c82d58ae12">b</a> () const 
<li><a class="el" href="a00742.html#a8d02d8c1098c7944f5efdfed5824bed1">result_type</a> <a class="el" href="a00742.html#a987039048c0570d83aa157bd2e3fd0c4">max</a> () const 
<li><a class="el" href="a00742.html#a8d02d8c1098c7944f5efdfed5824bed1">result_type</a> <a class="el" href="a00742.html#a67d4a952db92ddad4efca35abe678d70">min</a> () const 
<li><a class="anchor" id="aa888df7d0c1c4ffce4bd98d4535af313"></a><!-- doxytag: member="std::weibull_distribution::operator()" ref="aa888df7d0c1c4ffce4bd98d4535af313" args="(_UniformRandomNumberGenerator &amp;__urng, const param_type &amp;__p)" -->
template&lt;typename _UniformRandomNumberGenerator &gt; <a class="el" href="a00742.html#a8d02d8c1098c7944f5efdfed5824bed1">result_type</a> <b>operator()</b> (_UniformRandomNumberGenerator &amp;__urng, const <a class="el" href="a00743.html">param_type</a> &amp;__p)
<li>template&lt;typename _UniformRandomNumberGenerator &gt; <a class="el" href="a00742.html#a8d02d8c1098c7944f5efdfed5824bed1">result_type</a> <a class="el" href="a00742.html#a604f6bb602b741ab1886bf1ea91efb89">operator()</a> (_UniformRandomNumberGenerator &amp;__urng)
<li>void <a class="el" href="a00742.html#a880a3c1ec45f86dd2e64d89d7e64e527">param</a> (const <a class="el" href="a00743.html">param_type</a> &amp;__param)
<li><a class="el" href="a00743.html">param_type</a> <a class="el" href="a00742.html#ac926f90b146a434091cd7ec7abbaa561">param</a> () const 
<li>void <a class="el" href="a00742.html#a3c2c5842081debd56978c362bdbe9fda">reset</a> ()
</ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename _RealType = double&gt;<br/>
class std::weibull_distribution&lt; _RealType &gt;</h3>

<p>A <a class="el" href="a00742.html" title="A weibull_distribution random number distribution.">weibull_distribution</a> random number distribution. </p>
<p>The formula for the normal probability density function is: </p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ p(x|\alpha,\beta) = \frac{\alpha}{\beta} (\frac{x}{\beta})^{\alpha-1} \exp{(-(\frac{x}{\beta})^\alpha)} \]" src="form_26.png"/>
</p>
 
<p>Definition at line <a class="el" href="a00997_source.html#l04319">4319</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a8d02d8c1098c7944f5efdfed5824bed1"></a><!-- doxytag: member="std::weibull_distribution::result_type" ref="a8d02d8c1098c7944f5efdfed5824bed1" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef _RealType <a class="el" href="a00742.html">std::weibull_distribution</a>&lt; _RealType &gt;::<a class="el" href="a00742.html#a8d02d8c1098c7944f5efdfed5824bed1">result_type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The type of the range of the distribution. </p>

<p>Definition at line <a class="el" href="a00997_source.html#l04326">4326</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac7e7b782763905822ed27a69e7bbd187"></a><!-- doxytag: member="std::weibull_distribution::a" ref="ac7e7b782763905822ed27a69e7bbd187" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_RealType <a class="el" href="a00742.html">std::weibull_distribution</a>&lt; _RealType &gt;::a </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the <img class="formulaInl" alt="$a$" src="form_39.png"/> parameter of the distribution. </p>

<p>Definition at line <a class="el" href="a00997_source.html#l04377">4377</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p>

</div>
</div>
<a class="anchor" id="af5d19ffb93072d935fec75c82d58ae12"></a><!-- doxytag: member="std::weibull_distribution::b" ref="af5d19ffb93072d935fec75c82d58ae12" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_RealType <a class="el" href="a00742.html">std::weibull_distribution</a>&lt; _RealType &gt;::b </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the <img class="formulaInl" alt="$b$" src="form_40.png"/> parameter of the distribution. </p>

<p>Definition at line <a class="el" href="a00997_source.html#l04384">4384</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p>

</div>
</div>
<a class="anchor" id="a987039048c0570d83aa157bd2e3fd0c4"></a><!-- doxytag: member="std::weibull_distribution::max" ref="a987039048c0570d83aa157bd2e3fd0c4" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00742.html#a8d02d8c1098c7944f5efdfed5824bed1">result_type</a> <a class="el" href="a00742.html">std::weibull_distribution</a>&lt; _RealType &gt;::max </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the least upper bound value of the distribution. </p>

<p>Definition at line <a class="el" href="a00997_source.html#l04413">4413</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p>

</div>
</div>
<a class="anchor" id="a67d4a952db92ddad4efca35abe678d70"></a><!-- doxytag: member="std::weibull_distribution::min" ref="a67d4a952db92ddad4efca35abe678d70" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00742.html#a8d02d8c1098c7944f5efdfed5824bed1">result_type</a> <a class="el" href="a00742.html">std::weibull_distribution</a>&lt; _RealType &gt;::min </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the greatest lower bound value of the distribution. </p>

<p>Definition at line <a class="el" href="a00997_source.html#l04406">4406</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p>

</div>
</div>
<a class="anchor" id="a604f6bb602b741ab1886bf1ea91efb89"></a><!-- doxytag: member="std::weibull_distribution::operator()" ref="a604f6bb602b741ab1886bf1ea91efb89" args="(_UniformRandomNumberGenerator &amp;__urng)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType = double&gt; </div>
<div class="memtemplate">
template&lt;typename _UniformRandomNumberGenerator &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00742.html#a8d02d8c1098c7944f5efdfed5824bed1">result_type</a> <a class="el" href="a00742.html">std::weibull_distribution</a>&lt; _RealType &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">_UniformRandomNumberGenerator &amp;&#160;</td>
          <td class="paramname"><em>__urng</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Generating functions. </p>

<p>Definition at line <a class="el" href="a00997_source.html#l04421">4421</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p>

<p>References <a class="el" href="a00997_source.html#l04421">std::weibull_distribution&lt; _RealType &gt;::operator()()</a>, and <a class="el" href="a00997_source.html#l04391">std::weibull_distribution&lt; _RealType &gt;::param()</a>.</p>

<p>Referenced by <a class="el" href="a00997_source.html#l04421">std::weibull_distribution&lt; _RealType &gt;::operator()()</a>.</p>

</div>
</div>
<a class="anchor" id="a880a3c1ec45f86dd2e64d89d7e64e527"></a><!-- doxytag: member="std::weibull_distribution::param" ref="a880a3c1ec45f86dd2e64d89d7e64e527" args="(const param_type &amp;__param)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00742.html">std::weibull_distribution</a>&lt; _RealType &gt;::param </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00743.html">param_type</a> &amp;&#160;</td>
          <td class="paramname"><em>__param</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the parameter set of the distribution. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">__param</td><td>The new parameter set of the distribution. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="a00997_source.html#l04399">4399</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac926f90b146a434091cd7ec7abbaa561"></a><!-- doxytag: member="std::weibull_distribution::param" ref="ac926f90b146a434091cd7ec7abbaa561" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00743.html">param_type</a> <a class="el" href="a00742.html">std::weibull_distribution</a>&lt; _RealType &gt;::param </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the parameter set of the distribution. </p>

<p>Definition at line <a class="el" href="a00997_source.html#l04391">4391</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p>

<p>Referenced by <a class="el" href="a00997_source.html#l04421">std::weibull_distribution&lt; _RealType &gt;::operator()()</a>, <a class="el" href="a00997_source.html#l04439">std::operator==()</a>, and <a class="el" href="a00998_source.html#l02143">std::operator&gt;&gt;()</a>.</p>

</div>
</div>
<a class="anchor" id="a3c2c5842081debd56978c362bdbe9fda"></a><!-- doxytag: member="std::weibull_distribution::reset" ref="a3c2c5842081debd56978c362bdbe9fda" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _RealType = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00742.html">std::weibull_distribution</a>&lt; _RealType &gt;::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resets the distribution state. </p>

<p>Definition at line <a class="el" href="a00997_source.html#l04370">4370</a> of file <a class="el" href="a00997_source.html">random.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class 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="a00742.html">weibull_distribution</a>      </li>
      <li class="footer">Generated by&#160;
<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>