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

◆ Spy_Csc()

Function Spy_Csc ( M As  Long,
N As  Long,
Nnz As  Long,
Val() As  Double,
Colptr() As  Long,
Rowind() As  Long,
Optional KwArgs As  String 
)

Sparsity pattern of the array in CSC format

Purpose
Sparsity pattern plot of the array in CSC 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]Colptr()Array Colptr(LColptr - 1) (LColptr >= N + 1)
Column pointers of the matrix.
[in]Rowind()Array Rowind(LRowind - 1) (LRowind >= Nnz)
Row indices of the matrix.
[in]KwArgs(Optional)
Optional keyword parameters. (default = "")
Example
Sparsity pattern of the array in CSC format.