XLPack for Matplotlib Experimental Version 0.1
Reference Manual
Loading...
Searching...
No Matches

◆ 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]MNumber of rows of the array. (M > 0)
[in]NNumber of columns of the array. (N > 0)
[in]NnzNumber 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. (default = "")
Example
Sparsity pattern of the array in CSR format.