[SciPy-user] combine two sparse matrices
Nathan Bell
wnbell at gmail.com
Sat May 3 19:14:01 EDT 2008
On Sat, May 3, 2008 at 4:21 PM, Anne Archibald
<peridot.faceted at 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 at gmail.com
http://graphics.cs.uiuc.edu/~wnbell/
More information about the SciPy-User
mailing list