[SciPy-user] Construct sparse matrix from sparse blocks

Stefan van der Walt stefan@sun.ac...
Fri Feb 8 15:33:33 CST 2008


On Fri, Feb 08, 2008 at 03:08:30PM -0600, Nathan Bell 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

Since this is already under the sparse namespace, maybe we can just
use column_stack?

Regards
Stéfan


More information about the SciPy-user mailing list