Javadoc.
This commit is contained in:
parent
735dbc7934
commit
a9c64a5002
|
@ -63,9 +63,11 @@ public class FieldDenseMatrix<T>
|
||||||
/**
|
/**
|
||||||
* Factory method.
|
* Factory method.
|
||||||
*
|
*
|
||||||
|
* @param <T> Type of the field elements.
|
||||||
* @param f Field.
|
* @param f Field.
|
||||||
* @param r Number of rows.
|
* @param r Number of rows.
|
||||||
* @param c Number of columns.
|
* @param c Number of columns.
|
||||||
|
* @return a new instance.
|
||||||
* @throws IllegalArgumentException if {@code r <= 0} or {@code c <= 0}.
|
* @throws IllegalArgumentException if {@code r <= 0} or {@code c <= 0}.
|
||||||
*/
|
*/
|
||||||
public static <T> FieldDenseMatrix<T> create(Field<T> f,
|
public static <T> FieldDenseMatrix<T> create(Field<T> f,
|
||||||
|
@ -77,11 +79,12 @@ public class FieldDenseMatrix<T>
|
||||||
/**
|
/**
|
||||||
* Factory method.
|
* Factory method.
|
||||||
*
|
*
|
||||||
|
* @param <T> Type of the field elements.
|
||||||
* @param f Field.
|
* @param f Field.
|
||||||
* @param r Number of rows.
|
* @param r Number of rows.
|
||||||
* @param c Number of columns.
|
* @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}.
|
* @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,
|
public static <T> FieldDenseMatrix<T> zero(Field<T> f,
|
||||||
int r,
|
int r,
|
||||||
|
@ -92,10 +95,11 @@ public class FieldDenseMatrix<T>
|
||||||
/**
|
/**
|
||||||
* Factory method.
|
* Factory method.
|
||||||
*
|
*
|
||||||
|
* @param <T> Type of the field elements.
|
||||||
* @param f Field.
|
* @param f Field.
|
||||||
* @param n Dimension of the matrix.
|
* @param n Dimension of the matrix.
|
||||||
* @return the identity matrix.
|
|
||||||
* @throws IllegalArgumentException if {@code n <= 0}.
|
* @throws IllegalArgumentException if {@code n <= 0}.
|
||||||
|
* @return the identity matrix.
|
||||||
*/
|
*/
|
||||||
public static <T> FieldDenseMatrix<T> identity(Field<T> f,
|
public static <T> FieldDenseMatrix<T> identity(Field<T> f,
|
||||||
int n) {
|
int n) {
|
||||||
|
|
|
@ -142,6 +142,7 @@ public class FieldLUDecomposition<T> {
|
||||||
/**
|
/**
|
||||||
* Factory method.
|
* Factory method.
|
||||||
*
|
*
|
||||||
|
* @param <T> Type of the field elements.
|
||||||
* @param m Matrix to decompose.
|
* @param m Matrix to decompose.
|
||||||
* @return a new instance.
|
* @return a new instance.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue