-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
I got bit by this yesterday. The solution is to write a custom getindex(A,I...) method but I am unsure about how to do that generically.
julia> x = Zeros(3,3)
3×3 Zeros{Float64,2,Tuple{Int64,Int64}}:
0.0 0.0 0.0
0.0 0.0 0.0
0.0 0.0 0.0
julia> x[:,1]
3-element Array{Float64,1}:
0.0
0.0
0.0
julia> x[1:3,1]
3-element Array{Float64,1}:
0.0
0.0
0.0
Metadata
Metadata
Assignees
Labels
No labels