scipy.sparse
bsr_matrix.
eliminate_zeros
Remove zero elements in-place.
scipy.sparse.bsr_matrix.dot
scipy.sparse.bsr_matrix.expm1