Repository: commons-math Updated Branches: refs/heads/master dd9cb37df -> 4ebd5b617
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/4ebd5b61 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/4ebd5b61 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/4ebd5b61 Branch: refs/heads/master Commit: 4ebd5b61720a680e8507f0a4f1eebf0d654e8e09 Parents: dd9cb37 Author: Phil Steitz <phil.ste...@gmail.com> Authored: Fri Dec 25 09:18:31 2015 -0700 Committer: Phil Steitz <phil.ste...@gmail.com> Committed: Fri Dec 25 09:18:31 2015 -0700 ---------------------------------------------------------------------- .../org/apache/commons/math4/linear/FieldMatrix.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/4ebd5b61/src/main/java/org/apache/commons/math4/linear/FieldMatrix.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/linear/FieldMatrix.java b/src/main/java/org/apache/commons/math4/linear/FieldMatrix.java index 4c0ad9f..7cab1d2 100644 --- a/src/main/java/org/apache/commons/math4/linear/FieldMatrix.java +++ b/src/main/java/org/apache/commons/math4/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