[SciPy-user] combine two sparse matrices

Nathan Bell wnbell@gmail....
Sat May 3 18:14:01 CDT 2008


On Sat, May 3, 2008 at 4:21 PM, Anne Archibald
<peridot.faceted@gmail.com> wrote:
>
>  Sparse matrices, in any of the formats implemented in numpy/scipy, are
>  quite inefficient when dealing with subblocks. Every single entry in
>  the block must have at the least a four-byte index stored alongside
>  it. This need not necessarily be a problem, but it seems to be for
>  you.

FWIW there's now a BSR (block CSR) format in scipy.sparse for matrices
with dense sub-blocks.

-- 
Nathan Bell wnbell@gmail.com
http://graphics.cs.uiuc.edu/~wnbell/


More information about the SciPy-user mailing list