|
|
◆ Spy_Csr()
| Function Spy_Csr |
( |
M As |
Long, |
|
|
N As |
Long, |
|
|
Nnz As |
Long, |
|
|
Val() As |
Double, |
|
|
Rowptr() As |
Long, |
|
|
Colind() As |
Long, |
|
|
Optional KwArgs As |
String |
|
) |
| |
Sparsity pattern of the array in CSR format
- Purpose
- Sparsity pattern plot of the array in CSR format.
- Returns
- PyObject (AxesImage or Line2D).
(On error, Nothing is returned)
- Parameters
-
| [in] | M | Number of rows of the array. (M > 0) |
| [in] | N | Number of columns of the array. (N > 0) |
| [in] | Nnz | Number of nonzero elements. |
| [in] | Val() | Array Val(LVal - 1) (LVal >= Nnz)
Values of nonzero elements of the matrix. |
| [in] | Rowptr() | Array Rowptr(LRowptr - 1) (LRowptr >= N + 1)
Row pointers of the matrix. |
| [in] | Colind() | Array Colind(LColind - 1) (LColind >= Nnz)
Column indices of the matrix. |
| [in] | KwArgs | (Optional)
Optional keyword parameters. |
- Example
- Sparsity pattern of the array in CSR format.
|