/** * Creates an LU decomposition of the given matrix * * @param A * Matrix to decompose. Not modified * @return The current decomposition */ public static DenseLU factorize(Matrix A) { return new DenseLU(A.numRows(), A.numColumns()).factor(new DenseMatrix( A)); }
/** * Creates an LU decomposition of the given matrix * * @param A * Matrix to decompose. Not modified * @return The current decomposition */ public static DenseLU factorize(Matrix A) { return new DenseLU(A.numRows(), A.numColumns()).factor(new DenseMatrix( A)); }
lu = new DenseLU(Ac.numRows(), Ac.numColumns()); lu.factor(Ac);
lu = new DenseLU(Ac.numRows(), Ac.numColumns()); lu.factor(Ac);
DenseMatrix matA = inputs[0].getOriginal(); DenseLU lu = new DenseLU(matA.numRows(),matA.numColumns()); DenseMatrix tmp = new DenseMatrix(matA);