20#include "fasp_functs.h"
41 const INT num_nonzeros)
47 A -> nnz = num_nonzeros;
70 if (A -> nz_diff) free(A -> nz_diff);
71 if (A -> index) free(A -> index);
72 if (A -> start) free(A -> start);
73 if (A -> ja) free(A -> ja);
74 if (A -> val) free(A -> val);
void * fasp_mem_calloc(const unsigned int size, const unsigned int type)
Allocate, initiate, and check memory.
void fasp_dcsrl_free(dCSRLmat *A)
Destroy a dCSRLmat object.
dCSRLmat * fasp_dcsrl_create(const INT num_rows, const INT num_cols, const INT num_nonzeros)
Create a dCSRLmat object.
Main header file for the FASP project.
Sparse matrix of REAL type in CSRL format.