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
julia> r =randn(10,10)
julia> r = (r'* r) ./2
julia> t =SymTridiagonal(r)
julia> t[1]
ERROR: indexing not defined for Base.LinAlg.SymTridiagonal{Float64}
in getindex at abstractarray.jl:434
The text was updated successfully, but these errors were encountered:
jakebolewski
changed the title
indexing not defined for SymTridiagonal
indexing not defined for SymTridiagonal, Bidiagonal, Symmetric and Hermitian
Feb 2, 2015
Updated the title to reflect missing indexing functionality. Most methods that takeAbstractArrays as arguments rely on indexing behavior so this is an essential interface for AbstractArray subtypes. Defining a fallback would seem to be the way to go.
I think two argument indexing is defined for all the types (if it wasn't they couldn't get printed), so maybe the title should say "One argument indexing...". That would also explain why a fall back would work.
jakebolewski
changed the title
indexing not defined for SymTridiagonal, Bidiagonal, Symmetric and Hermitian
one argument indexing not defined for SymTridiagonal, Bidiagonal, Symmetric and Hermitian
Feb 2, 2015
The text was updated successfully, but these errors were encountered: