scipy/scipy — pull request #2586 by cowlicks (2013-06-20 03:11:57+00:00)
Title: Sparse matrix inequalities 

Sparse matrices can now use the <, >, <=, and >= operators, with scalars, dense matrices (with broadcasting), and sparse matrices (of the same shape). It should be noted that when comparing with dense matrices the sparse matrix should be on the left hand side.