April 30, 2015
5:43 p.m.
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? Thank you! Best, Wenlei
May 2015
1:49 a.m.
Hi Wenlei, On Thu, Apr 30, 2015 at 11:43 PM, Wenlei Xie <wenlei.xie@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
4037
Age (days ago)
4038
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ralf Gommers -
Wenlei Xie