[SciPy-user] Construct sparse matrix from sparse blocks
Fri Feb 8 15:08:30 CST 2008
On Feb 8, 2008 2:43 PM, Neilen Marais <firstname.lastname@example.org> wrote:
> I was unaware of the bmat like interface. I simply implemented the
> interface that seemed easiest implementation wise to me. Both the bmat
> and sparse hstack/vstack interfaces sound pretty nice to me... Avoids the
> possiblity of messing up the offsets.
Very well, I'll adapt your code to provide bmat/hstack/vstack-like
Regarding names, we already have spkron ~= kron and spdiags ~= diag.
I think we'll have to abandon this approach for the proposed functions
since spbmat, sphstack, spvstack are terrible :)
Which is better,
I prefer the XXX_sparse format since it aids tab completion. Suggestions?
Nathan Bell email@example.com
More information about the SciPy-user