Hello, I have a sparse vector, is there any function that returns an array with the index of its nonzero entires?
E.g I have
A
1048576x1 sparse matrix with 2 Float64 entries:
[1 , 1] = 0.5
[32801 , 1] = 0.5
I want a function(A) --> [1,32801]
Thanks!
(I thought this wold be basic, but I couldn't find info in the documentation or
the forums, sorry if I missed it)
