/** * Allocate a Dcsd object (a Dulmage-Mendelsohn decomposition). * * @param m * number of rows of the matrix A to be analyzed * @param n * number of columns of the matrix A to be analyzed * @return Dulmage-Mendelsohn decomposition */ public static Dcsd cs_dalloc(int m, int n) { Dcsd D; D = new Dcsd(); D.p = new int[m]; D.r = new int[m + 6]; D.q = new int[n]; D.s = new int[n + 6]; D.cc = new int[5]; D.rr = new int[5]; return D; }