This is an automated email from the ASF dual-hosted git repository. erans pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-math.git
commit a9c64a5002bb05d7209c9dbc5230464e8903e24f Author: Gilles Sadowski <gil...@harfang.homelinux.org> AuthorDate: Mon Dec 2 08:21:50 2019 +0100 Javadoc. --- .../org/apache/commons/math4/field/linalg/FieldDenseMatrix.java | 8 ++++++-- .../apache/commons/math4/field/linalg/FieldLUDecomposition.java | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/math4/field/linalg/FieldDenseMatrix.java b/src/main/java/org/apache/commons/math4/field/linalg/FieldDenseMatrix.java index 8fd0dc1..d901819 100644 --- a/src/main/java/org/apache/commons/math4/field/linalg/FieldDenseMatrix.java +++ b/src/main/java/org/apache/commons/math4/field/linalg/FieldDenseMatrix.java @@ -63,9 +63,11 @@ public class FieldDenseMatrix<T> /** * Factory method. * + * @param <T> Type of the field elements. * @param f Field. * @param r Number of rows. * @param c Number of columns. + * @return a new instance. * @throws IllegalArgumentException if {@code r <= 0} or {@code c <= 0}. */ public static <T> FieldDenseMatrix<T> create(Field<T> f, @@ -77,11 +79,12 @@ public class FieldDenseMatrix<T> /** * Factory method. * + * @param <T> Type of the field elements. * @param f Field. * @param r Number of rows. * @param c Number of columns. - * @throws IllegalArgumentException if {@code r <= 0} or {@code c <= 0}. * @return a matrix with elements zet to {@link Field#zero() zero}. + * @throws IllegalArgumentException if {@code r <= 0} or {@code c <= 0}. */ public static <T> FieldDenseMatrix<T> zero(Field<T> f, int r, @@ -92,10 +95,11 @@ public class FieldDenseMatrix<T> /** * Factory method. * + * @param <T> Type of the field elements. * @param f Field. * @param n Dimension of the matrix. - * @return the identity matrix. * @throws IllegalArgumentException if {@code n <= 0}. + * @return the identity matrix. */ public static <T> FieldDenseMatrix<T> identity(Field<T> f, int n) { diff --git a/src/main/java/org/apache/commons/math4/field/linalg/FieldLUDecomposition.java b/src/main/java/org/apache/commons/math4/field/linalg/FieldLUDecomposition.java index ab53e29..137bcbd 100644 --- a/src/main/java/org/apache/commons/math4/field/linalg/FieldLUDecomposition.java +++ b/src/main/java/org/apache/commons/math4/field/linalg/FieldLUDecomposition.java @@ -142,6 +142,7 @@ public class FieldLUDecomposition<T> { /** * Factory method. * + * @param <T> Type of the field elements. * @param m Matrix to decompose. * @return a new instance. */