scipy/scipy — pull request #2561 by cowlicks (2013-06-12 20:34:39+00:00)
Title: == & != functionality for CSC and CSR sparse matrices

Add support for == & != comparisons for CSC and CSR sparse matrices. Currently broadcasting comparisons with sparse matrices is not supported, but comparisons with broadcastable dense matrices, and scalars is. Comparing a sparse matrix with a dense matrix returns a dense result.