scipy.sparse.spfuncsΒΆ

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

Previous topic

scipy.sparse.sparsetools

Next topic

scipy.sparse.sputils

This Page