/** * Create a new {@code RealMatrix} using the input array as the underlying * data array. * <p>The input array is copied, not referenced. This constructor has * the same effect as calling {@link #Array2DRowRealMatrix(double[][], boolean)} * with the second argument set to {@code true}.</p> * * @param d Data for the new matrix. * @throws DimensionMismatchException if {@code d} is not rectangular. * @throws NoDataException if {@code d} row or column dimension is zero. * @throws NullArgumentException if {@code d} is {@code null}. * @see #Array2DRowRealMatrix(double[][], boolean) */ public Array2DRowRealMatrix(final double[][] d) throws DimensionMismatchException, NoDataException, NullArgumentException { copyIn(d); }
NullArgumentException { if (copyArray) { copyIn(d); } else { if (d == null) {
/** * Create a new {@code RealMatrix} using the input array as the underlying * data array. * <p>The input array is copied, not referenced. This constructor has * the same effect as calling {@link #Array2DRowRealMatrix(double[][], boolean)} * with the second argument set to {@code true}.</p> * * @param d Data for the new matrix. * @throws DimensionMismatchException if {@code d} is not rectangular. * @throws NoDataException if {@code d} row or column dimension is zero. * @throws NullArgumentException if {@code d} is {@code null}. * @see #Array2DRowRealMatrix(double[][], boolean) */ public Array2DRowRealMatrix(final double[][] d) throws DimensionMismatchException, NoDataException, NullArgumentException { copyIn(d); }
/** * Create a new {@code RealMatrix} using the input array as the underlying * data array. * <p>The input array is copied, not referenced. This constructor has * the same effect as calling {@link #Array2DRowRealMatrix(double[][], boolean)} * with the second argument set to {@code true}.</p> * * @param d Data for the new matrix. * @throws DimensionMismatchException if {@code d} is not rectangular. * @throws NoDataException if {@code d} row or column dimension is zero. * @throws NullArgumentException if {@code d} is {@code null}. * @see #Array2DRowRealMatrix(double[][], boolean) */ public Array2DRowRealMatrix(final double[][] d) throws DimensionMismatchException, NoDataException, NullArgumentException { copyIn(d); }
NullArgumentException { if (copyArray) { copyIn(d); } else { if (d == null) {
NullArgumentException { if (copyArray) { copyIn(d); } else { if (d == null) {