![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Sparse matrix operations for dCOOmat matrices. More...
Go to the source code of this file.
Functions | |
| dCOOmat | fasp_dcoo_create (const INT m, const INT n, const INT nnz) |
| Create IJ sparse matrix data memory space. More... | |
| void | fasp_dcoo_alloc (const INT m, const INT n, const INT nnz, dCOOmat *A) |
| Allocate COO sparse matrix memory space. More... | |
| void | fasp_dcoo_free (dCOOmat *A) |
| Free IJ sparse matrix data memory space. More... | |
| void | fasp_dcoo_shift (dCOOmat *A, const INT offset) |
| Re-index a REAL matrix in IJ format to make the index starting from 0 or 1. More... | |
Sparse matrix operations for dCOOmat matrices.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file BlaSparseCOO.c.
Allocate COO sparse matrix memory space.
| m | Number of rows |
| n | Number of columns |
| nnz | Number of nonzeros |
| A | Pointer to the dCSRmat matrix |
Definition at line 70 of file BlaSparseCOO.c.
Create IJ sparse matrix data memory space.
| m | Number of rows |
| n | Number of columns |
| nnz | Number of nonzeros |
Definition at line 42 of file BlaSparseCOO.c.
| void fasp_dcoo_free | ( | dCOOmat * | A | ) |
Free IJ sparse matrix data memory space.
| A | Pointer to the dCOOmat matrix |
Definition at line 102 of file BlaSparseCOO.c.
Re-index a REAL matrix in IJ format to make the index starting from 0 or 1.
| A | Pointer to IJ matrix |
| offset | Size of offset (1 or -1) |
Modified by Chunsheng Feng, Zheng Li on 08/25/2012
Definition at line 124 of file BlaSparseCOO.c.