Convenient creation of an OffsetArray?

This is already possible:

julia> oa = OffsetArray{Float64,2}(undef, 2:3, 2:3)
2×2 OffsetArray(::Matrix{Float64}, 2:3, 2:3) with eltype Float64 with indices 2:3×2:3:
 8.80086e199  2.64131e233
 2.58742e161  5.89012e-310
2 Likes