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
BunchKaufman lacks convert(Array/Matrix, F) and convert(AbstractArray/AbstractMatrix, F) methods. (Nor has it a full method). Best!
julia>VERSIONv"0.6.0-dev.979"
julia> A =bkfact(Array(SymTridiagonal(fill(2, 4), ones(3))))
Base.LinAlg.BunchKaufman{Float64,Array{Float64,2}}([1.250.750.00.0; 1.01.333330.6666670.0; 0.01.01.50.5; 0.00.01.02.0],[1,2,3,4],'U',true,false,0)
julia>Array(A)
ERROR: MethodError: Cannot `convert` an object of type Base.LinAlg.BunchKaufman{Float64,Array{Float64,2}} to an object of type Array{T,N}
This may have arisen from a call to the constructor Array{T,N}(...),
since type constructors fall back to convert methods.
inArray{T,N}(::Base.LinAlg.BunchKaufman{Float64,Array{Float64,2}}) at ./sysimg.jl:66
julia>AbstractArray(A)
ERROR: MethodError: Cannot `convert` an object of type Base.LinAlg.BunchKaufman{Float64,Array{Float64,2}} to an object of type AbstractArray{T,N}
This may have arisen from a call to the constructor AbstractArray{T,N}(...),
since type constructors fall back to convert methods.
inAbstractArray{T,N}(::Base.LinAlg.BunchKaufman{Float64,Array{Float64,2}}) at ./sysimg.jl:66
The text was updated successfully, but these errors were encountered:
The factors in the Bunch-Kaufman don't separate as nicely as the factors in LU with partial pivoting and the LAPACK have a function for reconstructing the input. It would therefore be a little tedious to write a function which wouldn't be that useful.
BunchKaufman
lacksconvert(Array/Matrix, F)
andconvert(AbstractArray/AbstractMatrix, F)
methods. (Nor has it afull
method). Best!The text was updated successfully, but these errors were encountered: