❔ Split 2D array into 4 chunks.
Hey, I want to split a 2D array
Cell[,]
into 4 chunks of given max size, how can i do this?7 Replies
in this example the max width & height = 5
returned chunk should also be a 2d array
Cell[,]
What happens if the input is higher or wider than twice the max size?
and what's your difficulty in doing this
Also, that 😄
lets say that we have a grid 11x11. We start from the center. We want to get chunks of max size 50x50. It will simply return chunks 6x6.
we just go for the maximum size possible
That doesn't really answer either question. What do you have so far and what are you struggling with?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.