/** * Constructs and returns the QR-decomposition of the given matrix. * * @param matrix * sparse matrix * @param order * ordering option (0 to 3); 0: natural ordering, 1: amd(A+A'), * 2: amd(S'*S), 3: amd(A'*A) * @return the QR-decomposition of the given matrix */ public SparseDoubleQRDecomposition qr(DoubleMatrix2D matrix, int order) { return new SparseDoubleQRDecomposition(matrix, order); }
/** * Constructs and returns the QR-decomposition of the given matrix. * * @param matrix * sparse matrix * @param order * ordering option (0 to 3); 0: natural ordering, 1: amd(A+A'), * 2: amd(S'*S), 3: amd(A'*A) * @return the QR-decomposition of the given matrix */ public SparseDoubleQRDecomposition qr(DoubleMatrix2D matrix, int order) { return new SparseDoubleQRDecomposition(matrix, order); }