|
|
◆ z_csx_check_sym()
| void z_csx_check_sym |
( |
int |
n, |
|
|
const doublecomplex |
val[], |
|
|
const int |
ptr[], |
|
|
const int |
ind[], |
|
|
int * |
info |
|
) |
| |
Check symmetry of sparse matrix (Complex matrices) (CSC/CSR)
- Purpose
- This routine checks the symmetry of sparse matrix in CSC or CSR format.
- Parameters
-
| [in] | n | Number of rows and columns of the matrix. (n >= 0) (if n = 0, returns without computation) |
| [in] | val[] | Array val[lval] (lval >= nnz) (nnz is the number of nonzero elements of input matrix)
Values of nonzero elements of input matrix. |
| [in] | ptr[] | Array ptr[lptr] (lptr >= m + 1)
Column pointers (if CSC) or row pointers (if CSR) of input matrix. |
| [in] | ind[] | Array ind[lind] (lind >= nnz) (nnz is the number of nonzero elements of input matrix)
Row indices (if CSC) or column indices (if CSR) of input matrix. |
| [out] | info | = i < 0: The (-i)-th argument is invalid.
= 0: Input matrix is not symmetric/Hermitian matrix.
= 1: Input matrix is symmetric matrix.
= 2: Input matrix is Hermitian matrix.
= 11: Internal program error (could not create transpose matrix). |
|