We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e10a7ae commit 7ef0affCopy full SHA for 7ef0aff
src/factorizations/utility.jl
@@ -53,6 +53,11 @@ function isblockdiagonal(A::AbstractBlockSparseMatrix)
53
return true
54
end
55
56
+function isblockpermuteddiagonal(A::AbstractBlockSparseMatrix)
57
+ return allunique(first.(eachblockstoredindex(A))) &&
58
+ allunique(last.(eachblockstoredindex(A)))
59
+end
60
+
61
"""
62
BlockDiagonalAlgorithm([f]) <: MatrixAlgebraKit.AbstractAlgorithm
63
0 commit comments