-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make setindex! for sparse matrices and vectors not purge stored entries on zero assignment #17404
Commits on Jul 14, 2016
-
Rewrite setindex!(A::SparseMatrixCSC, v, i, j) such that it no longer…
… expunges stored entries on zero assignment, throws a more explicit BoundsError when needed, and also for simplicity and clarity. Also add tests.
Configuration menu - View commit details
-
Copy full SHA for 7241554 - Browse repository at this point
Copy the full SHA 7241554View commit details
Commits on Jul 15, 2016
-
Rework setindex!(A::SparseMatrixCSC, v, I, J) such that it no longer …
…expunges stored entries on zero assignment. Also add tests.
Configuration menu - View commit details
-
Copy full SHA for 49712aa - Browse repository at this point
Copy the full SHA 49712aaView commit details -
Revise setindex!(A::SparseMatrixCSC, B::SparseMatrixCSC, I, J) such t…
…hat, when an assigning zero to entry A[i,j], if A[i,j] is not presently stored, the method does not introduce storage for A[i,j]. Also add tests.
Configuration menu - View commit details
-
Copy full SHA for a464345 - Browse repository at this point
Copy the full SHA a464345View commit details -
Revise setindex!(A::SparseMatrixCSC, x, I::AbstractMatrix{Bool}) such…
… that it no longer expunges stored entries on zero assignment. Also add tests.
Configuration menu - View commit details
-
Copy full SHA for 606a8e4 - Browse repository at this point
Copy the full SHA 606a8e4View commit details -
Revise setindex!(A::SparseMatrixCSC, x, I::AbstractVector) such that …
…it no longer expunges stored entries on zero assignment. Also add tests.
Configuration menu - View commit details
-
Copy full SHA for 6d3e198 - Browse repository at this point
Copy the full SHA 6d3e198View commit details -
Introduce rudimentary dropstored! methods for dropping stored entries…
… from SparseMatrixCSCs.
Configuration menu - View commit details
-
Copy full SHA for de37969 - Browse repository at this point
Copy the full SHA de37969View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffc5be2 - Browse repository at this point
Copy the full SHA ffc5be2View commit details -
Revise setindex!(x::SparseVector, v, i) such that it no longer purges…
… stored entries on zero assignment. Modify tests accordingly.
Configuration menu - View commit details
-
Copy full SHA for f98987f - Browse repository at this point
Copy the full SHA f98987fView commit details -
Introduce rudimentary dropstored! method for dropping entries from Sp…
…arseVectors. Also introduce associated tests.
Configuration menu - View commit details
-
Copy full SHA for 16971a4 - Browse repository at this point
Copy the full SHA 16971a4View commit details -
Note in NEWS.md that setindex! for sparse matrices and vectors no lon…
…ger purges allocated entries on zero assignment and that dropstored! now exists to drop stored entries.
Configuration menu - View commit details
-
Copy full SHA for 59d3d7c - Browse repository at this point
Copy the full SHA 59d3d7cView commit details