[SciPy-User] Norm for Sparse Matrix

Ralf Gommers ralf.gommers at gmail.com
Fri May 1 01:49:40 EDT 2015


Hi Wenlei,


On Thu, Apr 30, 2015 at 11:43 PM, Wenlei Xie <wenlei.xie at gmail.com> wrote:

> Hi,
>
> The function numpy.linalg.norm doesn't seem to work with sparse matrices.
> I am wondering if there is any function to get the norm for sparse matrices?
>

Current master contains a function that does this:
https://github.com/scipy/scipy/blob/master/scipy/sparse/linalg/_norm.py
Will be in the 0.16.0 release.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150501/d9608076/attachment.html>


More information about the SciPy-User mailing list