diff options
Diffstat (limited to 'commons-math3-3.6.1/docs/apidocs/org/apache/commons/math3/distribution/RealDistribution.html')
-rw-r--r-- | commons-math3-3.6.1/docs/apidocs/org/apache/commons/math3/distribution/RealDistribution.html | 538 |
1 files changed, 538 insertions, 0 deletions
diff --git a/commons-math3-3.6.1/docs/apidocs/org/apache/commons/math3/distribution/RealDistribution.html b/commons-math3-3.6.1/docs/apidocs/org/apache/commons/math3/distribution/RealDistribution.html new file mode 100644 index 0000000..f807788 --- /dev/null +++ b/commons-math3-3.6.1/docs/apidocs/org/apache/commons/math3/distribution/RealDistribution.html @@ -0,0 +1,538 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>RealDistribution (Apache Commons Math 3.6.1 API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="RealDistribution (Apache Commons Math 3.6.1 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RealDistribution.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +<div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/commons/math3/distribution/PoissonDistribution.html" title="class in org.apache.commons.math3.distribution"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/commons/math3/distribution/TDistribution.html" title="class in org.apache.commons.math3.distribution"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/commons/math3/distribution/RealDistribution.html" target="_top">Frames</a></li> +<li><a href="RealDistribution.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.commons.math3.distribution</div> +<h2 title="Interface RealDistribution" class="title">Interface RealDistribution</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../../../org/apache/commons/math3/distribution/AbstractRealDistribution.html" title="class in org.apache.commons.math3.distribution">AbstractRealDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/BetaDistribution.html" title="class in org.apache.commons.math3.distribution">BetaDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/CauchyDistribution.html" title="class in org.apache.commons.math3.distribution">CauchyDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/ChiSquaredDistribution.html" title="class in org.apache.commons.math3.distribution">ChiSquaredDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/ConstantRealDistribution.html" title="class in org.apache.commons.math3.distribution">ConstantRealDistribution</a>, <a href="../../../../../org/apache/commons/math3/random/EmpiricalDistribution.html" title="class in org.apache.commons.math3.random">EmpiricalDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/EnumeratedRealDistribution.html" title="class in org.apache.commons.math3.distribution">EnumeratedRealDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/ExponentialDistribution.html" title="class in org.apache.commons.math3.distribution">ExponentialDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/FDistribution.html" title="class in org.apache.commons.math3.distribution">FDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/GammaDistribution.html" title="class in org.apache.commons.math3.distribution">GammaDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/GumbelDistribution.html" title="class in org.apache.commons.math3.distribution">GumbelDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/LaplaceDistribution.html" title="class in org.apache.commons.math3.distribution">LaplaceDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/LevyDistribution.html" title="class in org.apache.commons.math3.distribution">LevyDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/LogisticDistribution.html" title="class in org.apache.commons.math3.distribution">LogisticDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/LogNormalDistribution.html" title="class in org.apache.commons.math3.distribution">LogNormalDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/NakagamiDistribution.html" title="class in org.apache.commons.math3.distribution">NakagamiDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/NormalDistribution.html" title="class in org.apache.commons.math3.distribution">NormalDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/ParetoDistribution.html" title="class in org.apache.commons.math3.distribution">ParetoDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/TDistribution.html" title="class in org.apache.commons.math3.distribution">TDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/TriangularDistribution.html" title="class in org.apache.commons.math3.distribution">TriangularDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/UniformRealDistribution.html" title="class in org.apache.commons.math3.distribution">UniformRealDistribution</a>, <a href="../../../../../org/apache/commons/math3/distribution/WeibullDistribution.html" title="class in org.apache.commons.math3.distribution">WeibullDistribution</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="strong">RealDistribution</span></pre> +<div class="block">Base interface for distributions on the reals.</div> +<dl><dt><span class="strong">Since:</span></dt> + <dd>3.0</dd></dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#cumulativeProbability(double)">cumulativeProbability</a></strong>(double x)</code> +<div class="block">For a random variable <code>X</code> whose values are distributed according + to this distribution, this method returns <code>P(X <= x)</code>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#cumulativeProbability(double,%20double)">cumulativeProbability</a></strong>(double x0, + double x1)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>As of 3.1. In 4.0, this method will be renamed + <code>probability(double x0, double x1)</code>.</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#density(double)">density</a></strong>(double x)</code> +<div class="block">Returns the probability density function (PDF) of this distribution + evaluated at the specified point <code>x</code>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#getNumericalMean()">getNumericalMean</a></strong>()</code> +<div class="block">Use this method to get the numerical value of the mean of this + distribution.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#getNumericalVariance()">getNumericalVariance</a></strong>()</code> +<div class="block">Use this method to get the numerical value of the variance of this + distribution.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#getSupportLowerBound()">getSupportLowerBound</a></strong>()</code> +<div class="block">Access the lower bound of the support.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#getSupportUpperBound()">getSupportUpperBound</a></strong>()</code> +<div class="block">Access the upper bound of the support.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#inverseCumulativeProbability(double)">inverseCumulativeProbability</a></strong>(double p)</code> +<div class="block">Computes the quantile function of this distribution.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#isSupportConnected()">isSupportConnected</a></strong>()</code> +<div class="block">Use this method to get information about whether the support is connected, + i.e.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#isSupportLowerBoundInclusive()">isSupportLowerBoundInclusive</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>to be removed in 4.0</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#isSupportUpperBoundInclusive()">isSupportUpperBoundInclusive</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>to be removed in 4.0</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#probability(double)">probability</a></strong>(double x)</code> +<div class="block">For a random variable <code>X</code> whose values are distributed according + to this distribution, this method returns <code>P(X = x)</code>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#reseedRandomGenerator(long)">reseedRandomGenerator</a></strong>(long seed)</code> +<div class="block">Reseed the random generator used to generate samples.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#sample()">sample</a></strong>()</code> +<div class="block">Generate a random value sampled from this distribution.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>double[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#sample(int)">sample</a></strong>(int sampleSize)</code> +<div class="block">Generate a random sample from the distribution.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="probability(double)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>probability</h4> +<pre>double probability(double x)</pre> +<div class="block">For a random variable <code>X</code> whose values are distributed according + to this distribution, this method returns <code>P(X = x)</code>. In other + words, this method represents the probability mass function (PMF) + for the distribution.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the point at which the PMF is evaluated</dd> +<dt><span class="strong">Returns:</span></dt><dd>the value of the probability mass function at point <code>x</code></dd></dl> +</li> +</ul> +<a name="density(double)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>density</h4> +<pre>double density(double x)</pre> +<div class="block">Returns the probability density function (PDF) of this distribution + evaluated at the specified point <code>x</code>. In general, the PDF is + the derivative of the <a href="../../../../../org/apache/commons/math3/distribution/RealDistribution.html#cumulativeProbability(double)"><code>CDF</code></a>. + If the derivative does not exist at <code>x</code>, then an appropriate + replacement should be returned, e.g. <code>Double.POSITIVE_INFINITY</code>, + <code>Double.NaN</code>, or the limit inferior or limit superior of the + difference quotient.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the point at which the PDF is evaluated</dd> +<dt><span class="strong">Returns:</span></dt><dd>the value of the probability density function at point <code>x</code></dd></dl> +</li> +</ul> +<a name="cumulativeProbability(double)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>cumulativeProbability</h4> +<pre>double cumulativeProbability(double x)</pre> +<div class="block">For a random variable <code>X</code> whose values are distributed according + to this distribution, this method returns <code>P(X <= x)</code>. In other + words, this method represents the (cumulative) distribution function + (CDF) for this distribution.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the point at which the CDF is evaluated</dd> +<dt><span class="strong">Returns:</span></dt><dd>the probability that a random variable with this + distribution takes a value less than or equal to <code>x</code></dd></dl> +</li> +</ul> +<a name="cumulativeProbability(double, double)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>cumulativeProbability</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +double cumulativeProbability(double x0, + double x1) + throws <a href="../../../../../org/apache/commons/math3/exception/NumberIsTooLargeException.html" title="class in org.apache.commons.math3.exception">NumberIsTooLargeException</a></pre> +<div class="block"><span class="strong">Deprecated.</span> <i>As of 3.1. In 4.0, this method will be renamed + <code>probability(double x0, double x1)</code>.</i></div> +<div class="block">For a random variable <code>X</code> whose values are distributed according + to this distribution, this method returns <code>P(x0 < X <= x1)</code>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x0</code> - the exclusive lower bound</dd><dd><code>x1</code> - the inclusive upper bound</dd> +<dt><span class="strong">Returns:</span></dt><dd>the probability that a random variable with this distribution + takes a value between <code>x0</code> and <code>x1</code>, + excluding the lower and including the upper endpoint</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/commons/math3/exception/NumberIsTooLargeException.html" title="class in org.apache.commons.math3.exception">NumberIsTooLargeException</a></code> - if <code>x0 > x1</code></dd></dl> +</li> +</ul> +<a name="inverseCumulativeProbability(double)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>inverseCumulativeProbability</h4> +<pre>double inverseCumulativeProbability(double p) + throws <a href="../../../../../org/apache/commons/math3/exception/OutOfRangeException.html" title="class in org.apache.commons.math3.exception">OutOfRangeException</a></pre> +<div class="block">Computes the quantile function of this distribution. For a random + variable <code>X</code> distributed according to this distribution, the + returned value is + <ul> + <li><code>inf{x in R | P(X<=x) >= p}</code> for <code>0 < p <= 1</code>,</li> + <li><code>inf{x in R | P(X<=x) > 0}</code> for <code>p = 0</code>.</li> + </ul></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>p</code> - the cumulative probability</dd> +<dt><span class="strong">Returns:</span></dt><dd>the smallest <code>p</code>-quantile of this distribution + (largest 0-quantile for <code>p = 0</code>)</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/commons/math3/exception/OutOfRangeException.html" title="class in org.apache.commons.math3.exception">OutOfRangeException</a></code> - if <code>p < 0</code> or <code>p > 1</code></dd></dl> +</li> +</ul> +<a name="getNumericalMean()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getNumericalMean</h4> +<pre>double getNumericalMean()</pre> +<div class="block">Use this method to get the numerical value of the mean of this + distribution.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>the mean or <code>Double.NaN</code> if it is not defined</dd></dl> +</li> +</ul> +<a name="getNumericalVariance()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getNumericalVariance</h4> +<pre>double getNumericalVariance()</pre> +<div class="block">Use this method to get the numerical value of the variance of this + distribution.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>the variance (possibly <code>Double.POSITIVE_INFINITY</code> as + for certain cases in <a href="../../../../../org/apache/commons/math3/distribution/TDistribution.html" title="class in org.apache.commons.math3.distribution"><code>TDistribution</code></a>) or <code>Double.NaN</code> if it + is not defined</dd></dl> +</li> +</ul> +<a name="getSupportLowerBound()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSupportLowerBound</h4> +<pre>double getSupportLowerBound()</pre> +<div class="block">Access the lower bound of the support. This method must return the same + value as <code>inverseCumulativeProbability(0)</code>. In other words, this + method must return + <p><code>inf {x in R | P(X <= x) > 0}</code>.</p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>lower bound of the support (might be + <code>Double.NEGATIVE_INFINITY</code>)</dd></dl> +</li> +</ul> +<a name="getSupportUpperBound()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSupportUpperBound</h4> +<pre>double getSupportUpperBound()</pre> +<div class="block">Access the upper bound of the support. This method must return the same + value as <code>inverseCumulativeProbability(1)</code>. In other words, this + method must return + <p><code>inf {x in R | P(X <= x) = 1}</code>.</p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>upper bound of the support (might be + <code>Double.POSITIVE_INFINITY</code>)</dd></dl> +</li> +</ul> +<a name="isSupportLowerBoundInclusive()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isSupportLowerBoundInclusive</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +boolean isSupportLowerBoundInclusive()</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>to be removed in 4.0</i></div> +<div class="block">Whether or not the lower bound of support is in the domain of the density + function. Returns true iff <code>getSupporLowerBound()</code> is finite and + <code>density(getSupportLowerBound())</code> returns a non-NaN, non-infinite + value.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>true if the lower bound of support is finite and the density + function returns a non-NaN, non-infinite value there</dd></dl> +</li> +</ul> +<a name="isSupportUpperBoundInclusive()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isSupportUpperBoundInclusive</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +boolean isSupportUpperBoundInclusive()</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>to be removed in 4.0</i></div> +<div class="block">Whether or not the upper bound of support is in the domain of the density + function. Returns true iff <code>getSupportUpperBound()</code> is finite and + <code>density(getSupportUpperBound())</code> returns a non-NaN, non-infinite + value.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>true if the upper bound of support is finite and the density + function returns a non-NaN, non-infinite value there</dd></dl> +</li> +</ul> +<a name="isSupportConnected()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isSupportConnected</h4> +<pre>boolean isSupportConnected()</pre> +<div class="block">Use this method to get information about whether the support is connected, + i.e. whether all values between the lower and upper bound of the support + are included in the support.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>whether the support is connected or not</dd></dl> +</li> +</ul> +<a name="reseedRandomGenerator(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>reseedRandomGenerator</h4> +<pre>void reseedRandomGenerator(long seed)</pre> +<div class="block">Reseed the random generator used to generate samples.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seed</code> - the new seed</dd></dl> +</li> +</ul> +<a name="sample()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>sample</h4> +<pre>double sample()</pre> +<div class="block">Generate a random value sampled from this distribution.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>a random value.</dd></dl> +</li> +</ul> +<a name="sample(int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>sample</h4> +<pre>double[] sample(int sampleSize)</pre> +<div class="block">Generate a random sample from the distribution.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sampleSize</code> - the number of random values to generate</dd> +<dt><span class="strong">Returns:</span></dt><dd>an array representing the random sample</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/commons/math3/exception/NotStrictlyPositiveException.html" title="class in org.apache.commons.math3.exception">NotStrictlyPositiveException</a></code> - if <code>sampleSize</code> is not positive</dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RealDistribution.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +<div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/commons/math3/distribution/PoissonDistribution.html" title="class in org.apache.commons.math3.distribution"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/commons/math3/distribution/TDistribution.html" title="class in org.apache.commons.math3.distribution"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/commons/math3/distribution/RealDistribution.html" target="_top">Frames</a></li> +<li><a href="RealDistribution.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2003–2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> |