This is a very valid use case, which I believe is served currently by StridedArray
. Also see strides
.
Again, I don’t think there is any reason for a user (ie someone writing code outside Base
) to even know about DenseArray
. AFAIK it is a remnant for an earlier API.