Skip to content

Commit a5f23c0

Browse files
dlfivefiftyfredrikekre
authored andcommitted
Update references to Base.SparseArrays (#30057)
1 parent 3f6eddc commit a5f23c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

stdlib/SparseArrays/src/sparsematrix.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ supplied, `combine` defaults to `+` unless the elements of `V` are Booleans in w
517517
elements of `J` must satisfy `1 <= J[k] <= n`. Numerical zeros in (`I`, `J`, `V`) are
518518
retained as structural nonzeros; to drop numerical zeros, use [`dropzeros!`](@ref).
519519
520-
For additional documentation and an expert driver, see `Base.SparseArrays.sparse!`.
520+
For additional documentation and an expert driver, see `SparseArrays.sparse!`.
521521
522522
# Examples
523523
```jldoctest
@@ -903,7 +903,7 @@ to generate intermediate result `(AQ)^T` (`transpose(A[:,q])`) in `C`. (2) Colum
903903
904904
The first step is a call to `halfperm!`, and the second is a variant on `halfperm!` that
905905
avoids an unnecessary length-`nnz(A)` array-sweep and associated recomputation of column
906-
pointers. See [`halfperm!`](:func:Base.SparseArrays.halfperm!) for additional algorithmic
906+
pointers. See [`halfperm!`](:func:SparseArrays.halfperm!) for additional algorithmic
907907
information.
908908
909909
See also: `unchecked_aliasing_permute!`
@@ -1215,7 +1215,7 @@ julia> A = sparse(Diagonal([1, 2, 3, 4]))
12151215
[3, 3] = 3
12161216
[4, 4] = 4
12171217
1218-
julia> Base.SparseArrays.fkeep!(A, (i, j, v) -> isodd(v))
1218+
julia> SparseArrays.fkeep!(A, (i, j, v) -> isodd(v))
12191219
4×4 SparseMatrixCSC{Int64,Int64} with 2 stored entries:
12201220
[1, 1] = 1
12211221
[3, 3] = 3
@@ -2924,7 +2924,7 @@ julia> A = sparse([1 2; 0 0])
29242924
[1, 1] = 1
29252925
[1, 2] = 2
29262926
2927-
julia> Base.SparseArrays.dropstored!(A, 1, 2); A
2927+
julia> SparseArrays.dropstored!(A, 1, 2); A
29282928
2×2 SparseMatrixCSC{Int64,Int64} with 1 stored entry:
29292929
[1, 1] = 1
29302930
```
@@ -2964,7 +2964,7 @@ julia> A = sparse(Diagonal([1, 2, 3, 4]))
29642964
[3, 3] = 3
29652965
[4, 4] = 4
29662966
2967-
julia> Base.SparseArrays.dropstored!(A, [1, 2], [1, 1])
2967+
julia> SparseArrays.dropstored!(A, [1, 2], [1, 1])
29682968
4×4 SparseMatrixCSC{Int64,Int64} with 3 stored entries:
29692969
[2, 2] = 2
29702970
[3, 3] = 3

0 commit comments

Comments
 (0)