-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I often want to do something like:
julia> A = HybridArray{Tuple{2,4,StaticArrays.Dynamic()}}(fill(0.0, 2, 4, 3));
julia> v = view(A,:,StaticArrays.SUnitRange(2,3),:)
2×2×3 view(::HybridArray{Tuple{2,4,StaticArrays.Dynamic()},Float64,3,3,Array{Float64,3}}, :, [2, 3], :) with eltype Float64 with indices SOneTo(2)×SOneTo(2)×Base.OneTo(3):
[:, :, 1] =
0.0 0.0
0.0 0.0
[:, :, 2] =
0.0 0.0
0.0 0.0
[:, :, 3] =
0.0 0.0
0.0 0.0
Is it possible to make this return a SizedArray
?
Metadata
Metadata
Assignees
Labels
No labels