EVSL  1.1.0
EigenValues Slicing Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
cs_util.c File Reference
#include "cs.h"

Go to the source code of this file.

Functions

cscs_spalloc (CS_INT m, CS_INT n, CS_INT nzmax, CS_INT values, CS_INT triplet)
 
CS_INT cs_sprealloc (cs *A, CS_INT nzmax)
 
cscs_spfree (cs *A)
 
csncs_nfree (csn *N)
 
csscs_sfree (css *S)
 
csdcs_dalloc (CS_INT m, CS_INT n)
 
csdcs_dfree (csd *D)
 
cscs_done (cs *C, void *w, void *x, CS_INT ok)
 
CS_INTcs_idone (CS_INT *p, cs *C, void *w, CS_INT ok)
 
csncs_ndone (csn *N, cs *C, void *w, void *x, CS_INT ok)
 
csdcs_ddone (csd *D, cs *C, void *w, CS_INT ok)
 

Function Documentation

csd* cs_dalloc ( CS_INT  m,
CS_INT  n 
)

Definition at line 66 of file cs_util.c.

References cs_calloc(), cs_dfree(), CS_INT, cs_malloc(), and csd.

Referenced by cs_dmperm(), and cs_scc().

Here is the call graph for this function:

Here is the caller graph for this function:

csd* cs_ddone ( csd D,
cs C,
void *  w,
CS_INT  ok 
)

Definition at line 115 of file cs_util.c.

References cs_dfree(), cs_free(), and cs_spfree().

Referenced by cs_dmperm(), and cs_scc().

Here is the call graph for this function:

Here is the caller graph for this function:

csd* cs_dfree ( csd D)

Definition at line 79 of file cs_util.c.

References cs_free(), and csd.

Referenced by cs_dalloc(), cs_ddone(), and cs_dmperm().

Here is the call graph for this function:

Here is the caller graph for this function:

cs* cs_done ( cs C,
void *  w,
void *  x,
CS_INT  ok 
)

Definition at line 90 of file cs_util.c.

References cs_free(), and cs_spfree().

Referenced by cs_add(), cs_compress(), cs_multiply(), cs_permute(), cs_symperm(), and cs_transpose().

Here is the call graph for this function:

Here is the caller graph for this function:

CS_INT* cs_idone ( CS_INT p,
cs C,
void *  w,
CS_INT  ok 
)

Definition at line 98 of file cs_util.c.

References cs_free(), CS_INT, and cs_spfree().

Referenced by cs_amd(), cs_counts(), cs_etree(), cs_maxtrans(), and cs_post().

Here is the call graph for this function:

Here is the caller graph for this function:

csn* cs_ndone ( csn N,
cs C,
void *  w,
void *  x,
CS_INT  ok 
)

Definition at line 106 of file cs_util.c.

References cs_free(), cs_nfree(), and cs_spfree().

Referenced by cs_chol(), cs_lu(), and cs_qr().

Here is the call graph for this function:

Here is the caller graph for this function:

csn* cs_nfree ( csn N)

Definition at line 43 of file cs_util.c.

References cs_free(), cs_spfree(), and csn.

Referenced by cs_cholsol(), cs_lusol(), cs_ndone(), and cs_qrsol().

Here is the call graph for this function:

Here is the caller graph for this function:

css* cs_sfree ( css S)

Definition at line 54 of file cs_util.c.

References cs_free(), and css.

Referenced by cs_cholsol(), cs_lusol(), cs_qrsol(), cs_schol(), and cs_sqr().

Here is the call graph for this function:

Here is the caller graph for this function:

cs* cs_spalloc ( CS_INT  m,
CS_INT  n,
CS_INT  nzmax,
CS_INT  values,
CS_INT  triplet 
)

Definition at line 3 of file cs_util.c.

References cs, cs_calloc(), CS_ENTRY, CS_INT, cs_malloc(), CS_MAX, and cs_spfree().

Referenced by cs_add(), cs_chol(), cs_compress(), cs_load(), cs_lu(), cs_multiply(), cs_permute(), cs_qr(), cs_symperm(), and cs_transpose().

Here is the call graph for this function:

Here is the caller graph for this function:

cs* cs_spfree ( cs A)

Definition at line 33 of file cs_util.c.

References cs, and cs_free().

Referenced by cs_amd(), cs_ddone(), cs_done(), cs_idone(), cs_load(), cs_ndone(), cs_nfree(), cs_qrsol(), cs_schol(), cs_spalloc(), and cs_sqr().

Here is the call graph for this function:

Here is the caller graph for this function:

CS_INT cs_sprealloc ( cs A,
CS_INT  nzmax 
)

Definition at line 18 of file cs_util.c.

References CS_CSC, CS_ENTRY, CS_INT, CS_MAX, cs_realloc(), and CS_TRIPLET.

Referenced by cs_add(), cs_amd(), cs_dupl(), cs_entry(), cs_fkeep(), cs_lu(), and cs_multiply().

Here is the call graph for this function:

Here is the caller graph for this function: