You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return a [`SparsePatternCSC`](@ref) corresponding to the transpose of `S`.
34
+
Return a [`SparsityPatternCSC`](@ref) corresponding to the transpose of `S`.
35
35
"""
36
-
function Base.transpose(S::SparsePatternCSC{T}) where {T}
36
+
function Base.transpose(S::SparsityPatternCSC{T}) where {T}
37
37
m, n =size(S)
38
38
nnzA =nnz(S)
39
39
A_colptr = S.colptr
@@ -78,7 +78,7 @@ function Base.transpose(S::SparsePatternCSC{T}) where {T}
78
78
end
79
79
B_colptr[1] =1
80
80
81
-
returnSparsePatternCSC{T}(n, m, B_colptr, B_rowval)
81
+
returnSparsityPatternCSC{T}(n, m, B_colptr, B_rowval)
82
82
end
83
83
84
84
## Adjacency graph
@@ -99,17 +99,17 @@ The adjacency graph of a symmetrix matric `A ∈ ℝ^{n × n}` is `G(A) = (V, E)
99
99
100
100
# Fields
101
101
102
-
- `S::SparsePatternCSC{T}`
102
+
- `S::SparsityPatternCSC{T}`
103
103
104
104
# References
105
105
106
-
> [_What Color Is Your Jacobian? SparsePatternCSC Coloring for Computing Derivatives_](https://epubs.siam.org/doi/10.1137/S0036144504444711), Gebremedhin et al. (2005)
106
+
> [_What Color Is Your Jacobian? SparsityPatternCSC Coloring for Computing Derivatives_](https://epubs.siam.org/doi/10.1137/S0036144504444711), Gebremedhin et al. (2005)
@@ -171,20 +171,20 @@ When `symmetric_pattern` is `true`, this construction is more efficient.
171
171
172
172
# Fields
173
173
174
-
- `S1::SparsePatternCSC{T}`: maps vertices on side `1` to their neighbors
175
-
- `S2::SparsePatternCSC{T}`: maps vertices on side `2` to their neighbors
174
+
- `S1::SparsityPatternCSC{T}`: maps vertices on side `1` to their neighbors
175
+
- `S2::SparsityPatternCSC{T}`: maps vertices on side `2` to their neighbors
176
176
177
177
# References
178
178
179
-
> [_What Color Is Your Jacobian? SparsePatternCSC Coloring for Computing Derivatives_](https://epubs.siam.org/doi/10.1137/S0036144504444711), Gebremedhin et al. (2005)
179
+
> [_What Color Is Your Jacobian? SparsityPatternCSC Coloring for Computing Derivatives_](https://epubs.siam.org/doi/10.1137/S0036144504444711), Gebremedhin et al. (2005)
0 commit comments