98 Int *Ap, *Ai, *Anz, *Ancestor, *Prev, *Iwork ;
99 Int i, j, jprev, p, pend, nrow, ncol, packed, stype ;
134 Iwork = Common->Iwork ;
148 for (j = 0 ; j < ncol ; j++)
151 Ancestor [j] =
EMPTY ;
165 for (j = 0 ; j < ncol ; j++)
169 pend = (packed) ? (Ap [j+1]) : (p + Anz [j]) ;
170 for ( ; p < pend ; p++)
188 Prev = Iwork + ncol ;
189 for (i = 0 ; i < nrow ; i++)
193 for (j = 0 ; j < ncol ; j++)
197 pend = (packed) ? (Ap [j+1]) : (p + Anz [j]) ;
198 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)