Closed
Description
Is it possible at this point to indexing arrays by implementing IndexMut
, etc? It would be nice to do be able to do the following a[x_index][y_index][z_index][d_index]
Ideally it would be great to be able to have ranges inside as well [numpy style], eg:
a[0..x_index][y_index][z_index][d_index]
and even negative indexing to pick elements from the end:
a[-1][y_index][z_index][d_index]
Relevant SO post. I believe dynamic types are already in now?