Functions that operate on sparse matrices
Functions
count_blocks(A, blocksize) | For a given blocksize=(r,c) count the number of occupied |
csr_count_blocks(*args) | csr_count_blocks(int n_row, int n_col, int R, int C, int Ap, int Aj) -> int |
estimate_blocksize(A[, efficiency]) | Attempt to determine the blocksize of a sparse matrix |
extract_diagonal(A) | |
isspmatrix_csc(x) | |
isspmatrix_csr(x) |
Classes
csr_matrix(arg1[, shape, dtype, copy]) | Compressed Sparse Row matrix |