Amesos Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
amesos_cholmod_rowfac.c File Reference
#include "amesos_cholmod_internal.h"
#include "amesos_cholmod_cholesky.h"
#include "amesos_t_cholmod_rowfac.c"
Include dependency graph for amesos_cholmod_rowfac.c:

Go to the source code of this file.

Macros

#define SUBTREE
 
#define REAL
 
#define COMPLEX
 
#define ZOMPLEX
 
#define MASK
 
#define REAL
 
#define COMPLEX
 
#define ZOMPLEX
 
#define SCATTER   /* do not scatter numerical values */
 
#define PARENT(i)   Parent [i] /* use Parent for etree */
 
#define SCATTER   /* do not scatter numerical values */
 
#define PARENT(i)   (Lnz [i] > 1) ? (Li [Lp [i] + 1]) : EMPTY
 

Functions

int CHOLMOD() row_subtree (cholmod_sparse *A, cholmod_sparse *F, size_t krow, Int *Parent, cholmod_sparse *R, cholmod_common *Common)
 
int CHOLMOD() row_lsubtree (cholmod_sparse *A, Int *Fi, size_t fnz, size_t krow, cholmod_factor *L, cholmod_sparse *R, cholmod_common *Common)
 
int CHOLMOD() rowfac (cholmod_sparse *A, cholmod_sparse *F, double beta[2], size_t kstart, size_t kend, cholmod_factor *L, cholmod_common *Common)
 
int CHOLMOD() rowfac_mask (cholmod_sparse *A, cholmod_sparse *F, double beta[2], size_t kstart, size_t kend, Int *mask, Int *RLinkUp, cholmod_factor *L, cholmod_common *Common)
 

Macro Definition Documentation

#define SUBTREE
Value:
for ( ; p < pend ; p++) \
{ \
i = Ai [p] ; \
if (i <= k) \
{ \
/* scatter the column of A, or A*A' into Wx and Wz */ \
/* start at node i and traverse up the subtree, stop at node k */ \
for (len = 0 ; i < k && i != EMPTY && Flag [i] < mark ; i = parent) \
{ \
/* L(k,i) is nonzero, and seen for the first time */ \
Stack [len++] = i ; /* place i on the stack */ \
Flag [i] = mark ; /* mark i as visited */ \
parent = PARENT (i) ; /* traverse up the etree to the parent */ \
} \
/* move the path down to the bottom of the stack */ \
while (len > 0) \
{ \
Stack [--top] = Stack [--len] ; \
} \
} \
else if (sorted) \
{ \
break ; \
} \
}
#define EMPTY
#define SCATTER
#define PARENT(i)

Definition at line 131 of file amesos_cholmod_rowfac.c.

#define REAL

Definition at line 172 of file amesos_cholmod_rowfac.c.

#define COMPLEX

Definition at line 174 of file amesos_cholmod_rowfac.c.

#define ZOMPLEX

Definition at line 176 of file amesos_cholmod_rowfac.c.

#define MASK

Definition at line 171 of file amesos_cholmod_rowfac.c.

#define REAL

Definition at line 172 of file amesos_cholmod_rowfac.c.

#define COMPLEX

Definition at line 174 of file amesos_cholmod_rowfac.c.

#define ZOMPLEX

Definition at line 176 of file amesos_cholmod_rowfac.c.

#define SCATTER   /* do not scatter numerical values */
#define PARENT (   i)    Parent [i] /* use Parent for etree */
#define SCATTER   /* do not scatter numerical values */
#define PARENT (   i)    (Lnz [i] > 1) ? (Li [Lp [i] + 1]) : EMPTY

Function Documentation

int CHOLMOD() row_subtree ( cholmod_sparse A,
cholmod_sparse F,
size_t  krow,
Int Parent,
cholmod_sparse R,
cholmod_common Common 
)

Definition at line 205 of file amesos_cholmod_rowfac.c.

int CHOLMOD() row_lsubtree ( cholmod_sparse A,
Int Fi,
size_t  fnz,
size_t  krow,
cholmod_factor L,
cholmod_sparse R,
cholmod_common Common 
)

Definition at line 366 of file amesos_cholmod_rowfac.c.

int CHOLMOD() rowfac ( cholmod_sparse A,
cholmod_sparse F,
double  beta[2],
size_t  kstart,
size_t  kend,
cholmod_factor L,
cholmod_common Common 
)

Definition at line 517 of file amesos_cholmod_rowfac.c.

int CHOLMOD() rowfac_mask ( cholmod_sparse A,
cholmod_sparse F,
double  beta[2],
size_t  kstart,
size_t  kend,
Int mask,
Int RLinkUp,
cholmod_factor L,
cholmod_common Common 
)

Definition at line 542 of file amesos_cholmod_rowfac.c.