Repository: commons-math
Updated Branches:
  refs/heads/MATH_3_X ee504b64a -> 1ac6991a7


Javadoc fix.


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/1ac6991a
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/1ac6991a
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/1ac6991a

Branch: refs/heads/MATH_3_X
Commit: 1ac6991a7e3dcabd14508d30cdb429dc52c1e030
Parents: ee504b6
Author: Phil Steitz <phil.ste...@gmail.com>
Authored: Fri Dec 25 09:14:58 2015 -0700
Committer: Phil Steitz <phil.ste...@gmail.com>
Committed: Fri Dec 25 09:14:58 2015 -0700

----------------------------------------------------------------------
 .../org/apache/commons/math3/linear/FieldMatrix.java | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/1ac6991a/src/main/java/org/apache/commons/math3/linear/FieldMatrix.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/linear/FieldMatrix.java 
b/src/main/java/org/apache/commons/math3/linear/FieldMatrix.java
index 9c67f22..c6cea97 100644
--- a/src/main/java/org/apache/commons/math3/linear/FieldMatrix.java
+++ b/src/main/java/org/apache/commons/math3/linear/FieldMatrix.java
@@ -176,26 +176,25 @@ public interface FieldMatrix<T extends FieldElement<T>> 
extends AnyMatrix {
    throws NoDataException, NullArgumentException, OutOfRangeException;
 
    /**
-    * Copy a submatrix. Rows and columns are indicated
-    * counting from 0 to n-1.
+    * Copy a submatrix. Rows and columns are 0-based. The designated submatrix
+    * is copied into the top left portion of the destination array.
     *
     * @param startRow Initial row index.
     * @param endRow Final row index (inclusive).
     * @param startColumn Initial column index.
     * @param endColumn Final column index (inclusive).
-    * @param destination The arrays where the submatrix data should be copied
-    * (if larger than rows/columns counts, only the upper-left part will be 
used).
+    * @param destination The array where the submatrix data should be copied
+    * (if larger than rows/columns counts, only the upper-left part will be 
modified).
     * @throws MatrixDimensionMismatchException if the dimensions of
-    * {@code destination} do not match those of {@code this}.
-    * @throws NumberIsTooSmallException is {@code endRow < startRow} of
+    * {@code destination} are not large enough to hold the submatrix.
+    * @throws NumberIsTooSmallException if {@code endRow < startRow} or
     * {@code endColumn < startColumn}.
     * @throws OutOfRangeException if the indices are not valid.
-    * @exception IllegalArgumentException if the destination array is too 
small.
     */
     void copySubMatrix(int startRow, int endRow, int startColumn, int 
endColumn,
                        T[][] destination)
     throws MatrixDimensionMismatchException, NumberIsTooSmallException,
-    OutOfRangeException, IllegalArgumentException;
+    OutOfRangeException;
 
   /**
    * Copy a submatrix. Rows and columns are indicated

Reply via email to