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
Moreover, inverse of a symmetric matrix should be symmetric. This works with regular matrices, but when it is a BandedMatrix,
the result is once again a generic matrix:
Symmetric{BandedMatrix} x Diagonal becomes dense, while BandedMatrix x Diagonal remains BandedMatrix.
Symmetric{BandedMatrix} x Symmetric{Matrix} throws an error: MethodError: *(::Symmetric{Float64, BandedMatrix{Float64, Matrix{Float64}, Base.OneTo{Int64}}}, ::Symmetric{Float64, Matrix{Float64}}) is ambiguous.
The text was updated successfully, but these errors were encountered:
Symmetric banded matrices seem very fragile and fall back to a generic dense matrix on occasions. Consider the following:
Product of banded matrices is banded, as expected. However, when the matrix is additionally specified as
Symmetric
,a product turns out to be dense:
Moreover, inverse of a symmetric matrix should be symmetric. This works with regular matrices, but when it is a
BandedMatrix
,the result is once again a generic matrix:
inv(S)
EDIT: I discovered more issues:
Symmetric{BandedMatrix} x Diagonal
becomes dense, whileBandedMatrix x Diagonal
remainsBandedMatrix
.Symmetric{BandedMatrix} x Symmetric{Matrix}
throws an error:MethodError: *(::Symmetric{Float64, BandedMatrix{Float64, Matrix{Float64}, Base.OneTo{Int64}}}, ::Symmetric{Float64, Matrix{Float64}}) is ambiguous
.The text was updated successfully, but these errors were encountered: