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.
2 parents d2afff8 + e384062 commit b9c9fb7Copy full SHA for b9c9fb7
src/basic.jl
@@ -648,6 +648,10 @@ function InvertedOperator(L::AbstractSciMLOperator{T}; cache=nothing) where{T}
648
InvertedOperator(L, cache)
649
end
650
651
+function InvertedOperator(A::AbstractMatrix{T}; cache=nothing) where{T}
652
+ InvertedOperator(MatrixOperator(A), cache)
653
+end
654
+
655
Base.inv(L::AbstractSciMLOperator) = InvertedOperator(L)
656
657
Base.:\(A::AbstractSciMLOperator, B::AbstractSciMLOperator) = inv(A) * B
0 commit comments