3 ms·
Assuming you mean what I think you mean, it does work. e.g. a[::2, ::3].flat[idx], where idx is from 0 to width*height of the view (idx can also be a NumPy ar
by montebicyclelo 6y ago
Assuming you mean what I think you mean, it does work.
e.g. a[::2, ::3].flat[idx], where idx is from 0 to width*height of the view
(idx can also be a NumPy array, for getting multiple values)