Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
Loading...
Searching...
No Matches
dCOOmat Struct Reference

Sparse matrix of REAL type in COO (IJ) format. More...

#include <fasp.h>

Data Fields

INT row
 row number of matrix A, m More...
 
INT col
 column of matrix A, n More...
 
INT nnz
 number of nonzero entries More...
 
INT * rowind
 integer array of row indices, the size is nnz More...
 
INT * colind
 integer array of column indices, the size is nnz More...
 
REAL * val
 nonzero entries of A More...
 

Detailed Description

Sparse matrix of REAL type in COO (IJ) format.

Coordinate Format (I,J,A)

Note
The starting index of A is 0.
Change I to rowind, J to colind. To avoid with complex.h confliction on I.

Definition at line 221 of file fasp.h.

Field Documentation

◆ col

INT col

column of matrix A, n

Definition at line 227 of file fasp.h.

◆ colind

INT* colind

integer array of column indices, the size is nnz

Definition at line 236 of file fasp.h.

◆ nnz

INT nnz

number of nonzero entries

Definition at line 230 of file fasp.h.

◆ row

INT row

row number of matrix A, m

Definition at line 224 of file fasp.h.

◆ rowind

INT* rowind

integer array of row indices, the size is nnz

Definition at line 233 of file fasp.h.

◆ val

REAL* val

nonzero entries of A

Definition at line 239 of file fasp.h.


The documentation for this struct was generated from the following file: