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

Go to the source code of this file.

Macros

#define EXPAND_AS_NEEDED
 

Functions

cholmod_sparseCHOLMOD (spsolve)
 

Macro Definition Documentation

#define EXPAND_AS_NEEDED
Value:
if (xnz >= nzmax) \
{ \
nzmax *= 2 ; \
CHOLMOD(reallocate_sparse) (nzmax, X, Common) ; \
if (Common->status < CHOLMOD_OK) \
{ \
CHOLMOD(free_sparse) (&X, Common) ; \
CHOLMOD(free_dense) (&X4, Common) ; \
CHOLMOD(free_dense) (&B4, Common) ; \
return (NULL) ; \
} \
Xi = X->i ; \
Xx = X->x ; \
Xz = X->z ; \
}
cholmod_sparse * CHOLMOD(spsolve)
int CHOLMOD() reallocate_sparse(size_t nznew, cholmod_sparse *A, cholmod_common *Common)
int CHOLMOD() free_sparse(cholmod_sparse **AHandle, cholmod_common *Common)
#define NULL
int CHOLMOD() free_dense(cholmod_dense **XHandle, cholmod_common *Common)
#define CHOLMOD_OK

Definition at line 41 of file amesos_cholmod_spsolve.c.

Function Documentation

cholmod_sparse* CHOLMOD ( spsolve  )

Definition at line 63 of file amesos_cholmod_spsolve.c.