95 Int *Ap, *Ai, *Anz, *Ancestor, *Prev, *Iwork ;
96 Int i, j, jprev, p, pend, nrow, ncol, packed, stype ;
131 Iwork = Common->Iwork ;
145 for (j = 0 ; j < ncol ; j++)
148 Ancestor [j] =
EMPTY ;
162 for (j = 0 ; j < ncol ; j++)
166 pend = (packed) ? (Ap [j+1]) : (p + Anz [j]) ;
167 for ( ; p < pend ; p++)
185 Prev = Iwork + ncol ;
186 for (i = 0 ; i < nrow ; i++)
190 for (j = 0 ; j < ncol ; j++)
194 pend = (packed) ? (Ap [j+1]) : (p + Anz [j]) ;
195 for ( ; p < pend ; p++)
#define CHOLMOD_TOO_LARGE
size_t CHOLMOD() add_size_t(size_t a, size_t b, int *ok)
#define RETURN_IF_NULL_COMMON(result)
#define ASSERT(expression)
int CHOLMOD() etree(cholmod_sparse *A, Int *Parent, cholmod_common *Common)
static void amesos_update_etree(Int k, Int i, Int Parent[], Int Ancestor[])
int CHOLMOD() allocate_work(size_t nrow, size_t iworksize, size_t xworksize, cholmod_common *Common)
#define RETURN_IF_NULL(A, result)
int CHOLMOD() dump_parent(Int *Parent, size_t n, char *name, cholmod_common *Common)
#define ERROR(status, msg)
#define RETURN_IF_XTYPE_INVALID(A, xtype1, xtype2, result)