/** * Constructs and returns the Cholesky-decomposition of the given matrix. * * @param matrix * sparse matrix * @param order * ordering option (0 or 1); 0: natural ordering, 1: amd(A+A') * @return Cholesky-decomposition of the given matrix */ public SparseDoubleCholeskyDecomposition chol(DoubleMatrix2D matrix, int order) { return new SparseDoubleCholeskyDecomposition(matrix, order); }
/** * Constructs and returns the Cholesky-decomposition of the given matrix. * * @param matrix * sparse matrix * @param order * ordering option (0 or 1); 0: natural ordering, 1: amd(A+A') * @return Cholesky-decomposition of the given matrix */ public SparseDoubleCholeskyDecomposition chol(DoubleMatrix2D matrix, int order) { return new SparseDoubleCholeskyDecomposition(matrix, order); }