psteitz 2004/05/10 19:19:08
Modified: math/src/java/org/apache/commons/math/distribution
AbstractDiscreteDistribution.java
DiscreteDistribution.java
Log:
javadoc typos.
Revision Changes Path
1.14 +2 -2
jakarta-commons/math/src/java/org/apache/commons/math/distribution/AbstractDiscreteDistribution.java
Index: AbstractDiscreteDistribution.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/distribution/AbstractDiscreteDistribution.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- AbstractDiscreteDistribution.java 11 May 2004 02:04:21 -0000 1.13
+++ AbstractDiscreteDistribution.java 11 May 2004 02:19:08 -0000 1.14
@@ -53,7 +53,7 @@
}
/**
- * For this distribution, X, this method returns the lagest x, such
+ * For this distribution, X, this method returns the largest x, such
* that P(X ≤ x) ≤ <code>p</code>.
*
* @param p the desired probability
1.13 +5 -5
jakarta-commons/math/src/java/org/apache/commons/math/distribution/DiscreteDistribution.java
Index: DiscreteDistribution.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/distribution/DiscreteDistribution.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- DiscreteDistribution.java 11 May 2004 02:05:25 -0000 1.12
+++ DiscreteDistribution.java 11 May 2004 02:19:08 -0000 1.13
@@ -24,14 +24,14 @@
*/
public interface DiscreteDistribution {
/**
- * For this disbution, X, this method returns P(X = x).
+ * For this distribution, X, this method returns P(X = x).
* @param x the value at which the PMF is evaluated.
* @return PMF for this distribution.
*/
double probability(int x);
/**
- * For this disbution, X, this method returns P(X ≤ x).
+ * For this distribution, X, this method returns P(X ≤ x).
* @param x the value at which the PDF is evaluated.
* @return PDF for this distribution.
* @exception MathException if the cumulative probability can not be
@@ -40,7 +40,7 @@
double cumulativeProbability(int x) throws MathException;
/**
- * For this disbution, X, this method returns P(x0 ≤ X ≤ x1).
+ * For this distribution, X, this method returns P(x0 ≤ X ≤ x1).
* @param x0 the inclusive, lower bound
* @param x1 the inclusive, upper bound
* @return the cumulative probability.
@@ -51,7 +51,7 @@
double cumulativeProbability(int x0, int x1) throws MathException;
/**
- * For this disbution, X, this method returns the largest x such that P(X ≤
x) <= p.
+ * For this distribution, X, this method returns the largest x such that P(X
≤ x) <= p.
* @param p the cumulative probability.
* @return x.
* @exception MathException if the inverse cumulative probability can not be
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]