Currently, the axes argument only accepts tuple of ranges, and eltype of TileIteration is a tuple of ranges.
A = rand(200, 50);
R = TileIterator(axes(A), (128,8))
A[R[1]...]
It can be convenient to accept CartesianIndices here and make the eltype be CartesianIndices so that following usage is possible:
R = TileIterator(CartesianIndices(A), (128,8))
A[R[1]]
Currently, the
axesargument only accepts tuple of ranges, and eltype ofTileIterationis a tuple of ranges.It can be convenient to accept
CartesianIndiceshere and make the eltype beCartesianIndicesso that following usage is possible: