Provides access to a slice as if it were flattened.
location in slice
value of flattened slice at index
import mir.ndslice.topology: iota, flattened; auto x = iota(2, 3, 4); assert(x.accessFlat(9) == x.flattened[9]);
flattened
See Implementation
Provides access to a slice as if it were flattened.