mirror of
https://github.com/apache/commons-math.git
synced 2025-02-06 18:18:56 +00:00
Fixed example to work after impl/interface merge. Fixed a typo. JIRA: MATH-711.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206604 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d3570e8ae9
commit
dd9c970279
@ -46,7 +46,7 @@
|
|||||||
<code>cumulativeProbability</code> computes <code>P(X <= x)</code>
|
<code>cumulativeProbability</code> computes <code>P(X <= x)</code>
|
||||||
(i.e. the lower tail probability of <code>X</code>).
|
(i.e. the lower tail probability of <code>X</code>).
|
||||||
</p>
|
</p>
|
||||||
<source>TDistribution t = new TDistributionImpl(29);
|
<source>TDistribution t = new TDistribution(29);
|
||||||
double lowerTail = t.cumulativeProbability(-2.656); // P(T <= -2.656)
|
double lowerTail = t.cumulativeProbability(-2.656); // P(T <= -2.656)
|
||||||
double upperTail = 1.0 - t.cumulativeProbability(2.75); // P(T >= 2.75)</source>
|
double upperTail = 1.0 - t.cumulativeProbability(2.75); // P(T >= 2.75)</source>
|
||||||
<p>
|
<p>
|
||||||
@ -86,7 +86,7 @@ double upperTail = 1.0 - t.cumulativeProbability(2.75); // P(T >= 2.75)</sour
|
|||||||
AbstractIntegerDistribution</a> provide implementation building blocks and
|
AbstractIntegerDistribution</a> provide implementation building blocks and
|
||||||
offer basic distribution functionality. By extending these abstract classes
|
offer basic distribution functionality. By extending these abstract classes
|
||||||
directly, much of the repetitive distribution implementation is already
|
directly, much of the repetitive distribution implementation is already
|
||||||
developed and should save time and effor in developing user-defined
|
developed and should save time and effort in developing user-defined
|
||||||
distributions.
|
distributions.
|
||||||
</p>
|
</p>
|
||||||
</subsection>
|
</subsection>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user