Skip to content

Commit

Permalink
Update references to Base.SparseArrays (#30057)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty authored and fredrikekre committed Dec 12, 2018
1 parent 3f6eddc commit a5f23c0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions stdlib/SparseArrays/src/sparsematrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ supplied, `combine` defaults to `+` unless the elements of `V` are Booleans in w
elements of `J` must satisfy `1 <= J[k] <= n`. Numerical zeros in (`I`, `J`, `V`) are
retained as structural nonzeros; to drop numerical zeros, use [`dropzeros!`](@ref).
For additional documentation and an expert driver, see `Base.SparseArrays.sparse!`.
For additional documentation and an expert driver, see `SparseArrays.sparse!`.
# Examples
```jldoctest
Expand Down Expand Up @@ -903,7 +903,7 @@ to generate intermediate result `(AQ)^T` (`transpose(A[:,q])`) in `C`. (2) Colum
The first step is a call to `halfperm!`, and the second is a variant on `halfperm!` that
avoids an unnecessary length-`nnz(A)` array-sweep and associated recomputation of column
pointers. See [`halfperm!`](:func:Base.SparseArrays.halfperm!) for additional algorithmic
pointers. See [`halfperm!`](:func:SparseArrays.halfperm!) for additional algorithmic
information.
See also: `unchecked_aliasing_permute!`
Expand Down Expand Up @@ -1215,7 +1215,7 @@ julia> A = sparse(Diagonal([1, 2, 3, 4]))
[3, 3] = 3
[4, 4] = 4
julia> Base.SparseArrays.fkeep!(A, (i, j, v) -> isodd(v))
julia> SparseArrays.fkeep!(A, (i, j, v) -> isodd(v))
4×4 SparseMatrixCSC{Int64,Int64} with 2 stored entries:
[1, 1] = 1
[3, 3] = 3
Expand Down Expand Up @@ -2924,7 +2924,7 @@ julia> A = sparse([1 2; 0 0])
[1, 1] = 1
[1, 2] = 2
julia> Base.SparseArrays.dropstored!(A, 1, 2); A
julia> SparseArrays.dropstored!(A, 1, 2); A
2×2 SparseMatrixCSC{Int64,Int64} with 1 stored entry:
[1, 1] = 1
```
Expand Down Expand Up @@ -2964,7 +2964,7 @@ julia> A = sparse(Diagonal([1, 2, 3, 4]))
[3, 3] = 3
[4, 4] = 4
julia> Base.SparseArrays.dropstored!(A, [1, 2], [1, 1])
julia> SparseArrays.dropstored!(A, [1, 2], [1, 1])
4×4 SparseMatrixCSC{Int64,Int64} with 3 stored entries:
[2, 2] = 2
[3, 3] = 3
Expand Down

0 comments on commit a5f23c0

Please sign in to comment.