You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2011/11/26 22:33:02 UTC

svn commit: r1206604 - /commons/proper/math/trunk/src/site/xdoc/userguide/distribution.xml

Author: psteitz
Date: Sat Nov 26 21:33:01 2011
New Revision: 1206604

URL: http://svn.apache.org/viewvc?rev=1206604&view=rev
Log:
Fixed example to work after impl/interface merge. Fixed a typo. JIRA: MATH-711.

Modified:
    commons/proper/math/trunk/src/site/xdoc/userguide/distribution.xml

Modified: commons/proper/math/trunk/src/site/xdoc/userguide/distribution.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/userguide/distribution.xml?rev=1206604&r1=1206603&r2=1206604&view=diff
==============================================================================
--- commons/proper/math/trunk/src/site/xdoc/userguide/distribution.xml (original)
+++ commons/proper/math/trunk/src/site/xdoc/userguide/distribution.xml Sat Nov 26 21:33:01 2011
@@ -46,7 +46,7 @@
           <code>cumulativeProbability</code> computes <code>P(X &lt;= x)</code>
           (i.e. the lower tail probability of <code>X</code>).
         </p>
-<source>TDistribution t = new TDistributionImpl(29);
+<source>TDistribution t = new TDistribution(29);
 double lowerTail = t.cumulativeProbability(-2.656);     // P(T &lt;= -2.656)
 double upperTail = 1.0 - t.cumulativeProbability(2.75); // P(T &gt;= 2.75)</source>
         <p>
@@ -86,7 +86,7 @@ double upperTail = 1.0 - t.cumulativePro
         AbstractIntegerDistribution</a> provide implementation building blocks and
         offer basic distribution functionality.  By extending these abstract classes
         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.
         </p>
       </subsection>