I have absolutely no idea what this would be called so I’m just going to call it “indexing with cubes”. Anyways, let’s say I have a table like this:
{
{1,1,1,1,2,2,2,2,3},
{1,1,1,1,2,2,2,2,3},
{1,1,1,1,2,2,2,2,3},
{1,1,1,1,2,2,2,2,3}
}
I’m trying to index it by 4s in all directions so I could get something like this, ignoring if anything else exists that’s less than 4.
1111 2222
1111 2222
1111 2222
1111 2222
Idek if this is coherent, and if it’s not then don’t reply ig? I spent multiple hours trying last night but to no result.