Hi all

I am wondering if there exist the in place version of .* and .+, for matrix 
piecewise operation, so that it reduces memory allocation?

Or is there a plan to add them?

For the moment, 

(.*)(A::SparseMatrixCSC, B::Number) = SparseMatrixCSC(A.m, A.n, copy(A.colptr), 
copy(A.rowval), A.nzval .* B) which copies the content.
Thanks

Reply via email to