From ea75da05a0e3e3486e4d930067278427317bf936 Mon Sep 17 00:00:00 2001 From: Phil Steitz Date: Sun, 22 Aug 2004 01:42:58 +0000 Subject: [PATCH] Fixed javadoc typos. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141432 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/math/linear/BigMatrix.java | 4 ++-- src/java/org/apache/commons/math/linear/BigMatrixImpl.java | 4 ++-- src/java/org/apache/commons/math/linear/RealMatrix.java | 4 ++-- src/java/org/apache/commons/math/linear/RealMatrixImpl.java | 4 ++-- src/java/org/apache/commons/math/stat/Frequency.java | 6 +++--- .../math/stat/univariate/StorelessUnivariateStatistic.java | 4 ++-- .../commons/math/stat/univariate/rank/Percentile.java | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/java/org/apache/commons/math/linear/BigMatrix.java b/src/java/org/apache/commons/math/linear/BigMatrix.java index 9f06d14a2..afc361ef2 100644 --- a/src/java/org/apache/commons/math/linear/BigMatrix.java +++ b/src/java/org/apache/commons/math/linear/BigMatrix.java @@ -22,7 +22,7 @@ import java.math.BigDecimal; * Interface defining a real-valued matrix with basic algebraic operations, using * BigDecimal representations for the entries. * - * @version $Revision: 1.4 $ $Date: 2004/07/11 04:49:24 $ + * @version $Revision: 1.5 $ $Date: 2004/08/22 01:42:58 $ */ public interface BigMatrix { @@ -68,7 +68,7 @@ public interface BigMatrix { BigMatrix scalarMultiply(BigDecimal d); /** - * Returns the result postmultiplying this by m. + * Returns the result of postmultiplying this by m. * * @param m matrix to postmultiply by * @return this * m diff --git a/src/java/org/apache/commons/math/linear/BigMatrixImpl.java b/src/java/org/apache/commons/math/linear/BigMatrixImpl.java index 34481ad55..185fb5db4 100644 --- a/src/java/org/apache/commons/math/linear/BigMatrixImpl.java +++ b/src/java/org/apache/commons/math/linear/BigMatrixImpl.java @@ -39,7 +39,7 @@ import java.math.BigDecimal; * explicitly invoke LUDecompose() to recompute the decomposition * before using any of the methods above. * - * @version $Revision: 1.3 $ $Date: 2004/07/11 04:49:24 $ + * @version $Revision: 1.4 $ $Date: 2004/08/22 01:42:58 $ */ public class BigMatrixImpl implements BigMatrix, Serializable { @@ -239,7 +239,7 @@ public class BigMatrixImpl implements BigMatrix, Serializable { } /** - * Returns the result postmultiplying this by m. + * Returns the result of postmultiplying this by m. * @param m matrix to postmultiply by * @return this*m * @throws IllegalArgumentException diff --git a/src/java/org/apache/commons/math/linear/RealMatrix.java b/src/java/org/apache/commons/math/linear/RealMatrix.java index 20f58e7a3..910fd5678 100644 --- a/src/java/org/apache/commons/math/linear/RealMatrix.java +++ b/src/java/org/apache/commons/math/linear/RealMatrix.java @@ -18,7 +18,7 @@ package org.apache.commons.math.linear; /** * Interface defining a real-valued matrix with basic algebraic operations - * @version $Revision: 1.19 $ $Date: 2004/06/07 03:26:31 $ + * @version $Revision: 1.20 $ $Date: 2004/08/22 01:42:58 $ */ public interface RealMatrix { @@ -64,7 +64,7 @@ public interface RealMatrix { RealMatrix scalarMultiply(double d); /** - * Returns the result postmultiplying this by m. + * Returns the result of postmultiplying this by m. * * @param m matrix to postmultiply by * @return this * m diff --git a/src/java/org/apache/commons/math/linear/RealMatrixImpl.java b/src/java/org/apache/commons/math/linear/RealMatrixImpl.java index f53a05e91..cb404b3fa 100644 --- a/src/java/org/apache/commons/math/linear/RealMatrixImpl.java +++ b/src/java/org/apache/commons/math/linear/RealMatrixImpl.java @@ -38,7 +38,7 @@ import java.io.Serializable; * explicitly invoke LUDecompose() to recompute the decomposition * before using any of the methods above. * - * @version $Revision: 1.25 $ $Date: 2004/06/23 16:26:17 $ + * @version $Revision: 1.26 $ $Date: 2004/08/22 01:42:58 $ */ public class RealMatrixImpl implements RealMatrix, Serializable { @@ -202,7 +202,7 @@ public class RealMatrixImpl implements RealMatrix, Serializable { } /** - * Returns the result postmultiplying this by m. + * Returns the result of postmultiplying this by m. * @param m matrix to postmultiply by * @return this*m * @throws IllegalArgumentException diff --git a/src/java/org/apache/commons/math/stat/Frequency.java b/src/java/org/apache/commons/math/stat/Frequency.java index 0686d2ac9..331b93525 100644 --- a/src/java/org/apache/commons/math/stat/Frequency.java +++ b/src/java/org/apache/commons/math/stat/Frequency.java @@ -33,9 +33,9 @@ import java.util.TreeMap; * the same effect (similarly for arguments to getCount, etc.). *

* The values are ordered using the default (natural order), unless a - * Comparatoris supplied in the constructor. + * Comparator is supplied in the constructor. * - * @version $Revision: 1.26 $ $Date: 2004/08/12 15:33:39 $ + * @version $Revision: 1.27 $ $Date: 2004/08/22 01:42:58 $ */ public class Frequency implements Serializable { @@ -407,7 +407,7 @@ public class Frequency implements Serializable { } /** - * Returns the cumulative percentatge of values less than or equal to v + * Returns the cumulative percentage of values less than or equal to v * (as a proportion between 0 and 1). *

* Returns 0 if v is not comparable to the values set. diff --git a/src/java/org/apache/commons/math/stat/univariate/StorelessUnivariateStatistic.java b/src/java/org/apache/commons/math/stat/univariate/StorelessUnivariateStatistic.java index 7569368a7..45f539be5 100644 --- a/src/java/org/apache/commons/math/stat/univariate/StorelessUnivariateStatistic.java +++ b/src/java/org/apache/commons/math/stat/univariate/StorelessUnivariateStatistic.java @@ -23,7 +23,7 @@ package org.apache.commons.math.stat.univariate; * This interface is designed to be used for calculating statistics that can be computed in * one pass through the data without storing the full array of sample values. * - * @version $Revision: 1.18 $ $Date: 2004/07/10 17:09:08 $ + * @version $Revision: 1.19 $ $Date: 2004/08/22 01:42:58 $ */ public interface StorelessUnivariateStatistic extends UnivariateStatistic { @@ -70,7 +70,7 @@ public interface StorelessUnivariateStatistic extends UnivariateStatistic { long getN(); /** - * Clears all the internal state of the Statistic + * Clears the internal state of the Statistic */ void clear(); diff --git a/src/java/org/apache/commons/math/stat/univariate/rank/Percentile.java b/src/java/org/apache/commons/math/stat/univariate/rank/Percentile.java index d2581093a..01c894b4a 100644 --- a/src/java/org/apache/commons/math/stat/univariate/rank/Percentile.java +++ b/src/java/org/apache/commons/math/stat/univariate/rank/Percentile.java @@ -44,7 +44,7 @@ import org.apache.commons.math.stat.univariate.AbstractUnivariateStatistic; *

* To compute percentiles, the data must be (totally) ordered. Input arrays * are copied and then sorted using {@link java.util.Arrays#sort(double[])}. - * The ordering used by Arrays.sort(double[] is the one determined + * The ordering used by Arrays.sort(double[]) is the one determined * by {@link java.lang.Double#compareTo(Double)}. This ordering makes * Double.NaN larger than any other value (including * Double.POSITIVE_INFINITY). Therefore, for example, the median @@ -60,7 +60,7 @@ import org.apache.commons.math.stat.univariate.AbstractUnivariateStatistic; * one of the threads invokes the increment() or * clear() method, it must be synchronized externally. * - * @version $Revision: 1.23 $ $Date: 2004/07/11 18:39:08 $ + * @version $Revision: 1.24 $ $Date: 2004/08/22 01:42:58 $ */ public class Percentile extends AbstractUnivariateStatistic implements Serializable {