92 Index maxsuper, Index& nseg, BlockIndexVector lsub_col,
93 IndexVector& segrep, BlockIndexVector repfnz, IndexVector& xprune,
94 IndexVector& marker, IndexVector& parent, IndexVector& xplore,
96 Index jsuper = glu.supno(jcol);
97 Index nextl = glu.xlsub(jcol);
100 column_dfs_traits<IndexVector, ScalarVector> traits(jcol, jsuper, glu, *
this);
103 for (Index k = 0; ((k < m) ? lsub_col[k] != emptyIdxLU :
false); k++) {
104 Index krow = lsub_col(k);
105 lsub_col(k) = emptyIdxLU;
106 Index kmark = marker2(krow);
109 if (kmark == jcol)
continue;
111 dfs_kernel(StorageIndex(jcol), perm_r, nseg, glu.lsub, segrep, repfnz, xprune, marker2, parent, xplore, glu, nextl,
116 StorageIndex nsuper = glu.supno(jcol);
117 StorageIndex jcolp1 = StorageIndex(jcol) + 1;
118 Index jcolm1 = jcol - 1;
122 nsuper = glu.supno(0) = 0;
124 fsupc = glu.xsup(nsuper);
125 StorageIndex jptr = glu.xlsub(jcol);
126 StorageIndex jm1ptr = glu.xlsub(jcolm1);
129 if (nextl - jptr != jptr - jm1ptr - 1) jsuper = emptyIdxLU;
133 if ((jcol - fsupc) >= maxsuper) jsuper = emptyIdxLU;
140 if (jsuper == emptyIdxLU) {
141 if (fsupc < jcolm1 - 1) {
142 StorageIndex ito = glu.xlsub(fsupc + 1);
143 glu.xlsub(jcolm1) = ito;
144 StorageIndex istop = ito + jptr - jm1ptr;
145 xprune(jcolm1) = istop;
146 glu.xlsub(jcol) = istop;
148 for (StorageIndex ifrom = jm1ptr; ifrom < nextl; ++ifrom, ++ito) glu.lsub(ito) = glu.lsub(ifrom);
152 glu.supno(jcol) = nsuper;
157 glu.xsup(nsuper + 1) = jcolp1;
158 glu.supno(jcolp1) = nsuper;
159 xprune(jcol) = StorageIndex(nextl);
160 glu.xlsub(jcolp1) = StorageIndex(nextl);