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
What's the desired behavior here?
I guess (for efficiency), that it returns a linear index into the memory of the array?
In that case, the StrideIndex object should carry an offset.
The offset should default to Zero() for most array types, for subarrays should be calculated using the offsets implied by the non-colon indices. E.g., (2 - offset(A,2)) * stride(A,2) for the first example, and (2 - offset(A,1)) * stride(A,1) for the second.
I've been getting incorrect results when using scalar indexing that doesn't start with one on views.
Should we be combining those scalar indices with strides?
The text was updated successfully, but these errors were encountered: