If you are overwriting all your previous values you can just send in the matrix into the function and update with A[i,j] = v
On Monday, April 13, 2015 at 6:47:21 PM UTC+2, Andrei Berceanu wrote: > > Yes but so how do I update it inplace? > > On Monday, April 13, 2015 at 5:37:50 PM UTC+2, Kristoffer Carlsson wrote: >> >> If you have the same sparse structures in your matrices then it should be >> sufficient to to the IJV -> CSC sparse matrix conversion only once and then >> update A in place instead of generating a new IJV and converting to CSC >> again and again. >> >>
