Is there a way to quickly convert a tuple to an array?
A common use case is when I want to perform calculations on
size(my_array), say dividing the size by half or other more complex array operations.
Currently I expand the tuple like
dx, dy, dz = size(my_array); dims = [dx, dy, dz] but that gets tedious after doing it 100+ times. I would much rather have
size(my_array) return an array, or at the very least have a lazy way to convert it to a array.