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
convert(::Type{LowerTriangular}, A::Bidiagonal) =!A.isupper ?LowerTriangular(convert(Array, A)) :throw(ArgumentError("Bidiagonal matrix must have lower off diagonal to be converted to LowerTriangular"))
10
-
convert(::Type{UpperTriangular}, A::Bidiagonal) = A.isupper ?UpperTriangular(convert(Array, A)) :throw(ArgumentError("Bidiagonal matrix must have upper off diagonal to be converted to UpperTriangular"))
9
+
convert(::Type{LowerTriangular}, A::Bidiagonal) =!A.isupper ?LowerTriangular(full(A)) :throw(ArgumentError("Bidiagonal matrix must have lower off diagonal to be converted to LowerTriangular"))
10
+
convert(::Type{UpperTriangular}, A::Bidiagonal) = A.isupper ?UpperTriangular(full(A)) :throw(ArgumentError("Bidiagonal matrix must have upper off diagonal to be converted to UpperTriangular"))
0 commit comments