[SciPy-user] Construct sparse matrix from sparse blocks
Anne Archibald
peridot.faceted at gmail.com
Fri Feb 8 16:29:03 EST 2008
On 08/02/2008, Nathan Bell <wnbell at gmail.com> wrote:
> 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,
>
> column_stack_sparse
> row_stack_sparse
> block_matrix_sparse
>
> or
>
> sparse_column_stack
> sparse_row_stack
> sparse_block_matrix
>
>
> I prefer the XXX_sparse format since it aids tab completion. Suggestions?
What's wrong with scipy.splinalg.hstack? Or scipy.sparse.hstack? This
is what namespaces are *for*...
Anne
More information about the SciPy-User
mailing list