Resample a 2D grid

Hi geniuses!
I have a problem that I think should be quite simple. I have a grid of 25x25 points, I would like to resample it with a smaller value, like 16x16

I know I can do it by resampling the vertical lines first, and then the horizontal lines thus obtained (or vice versa), but I was wondering if there is a way to do it without having to choose. So basically a way to resample the grid directly.


ResampleGRID.v4p (27.2 KB)

Sadly there is no easy way…
You have to resample row, then swap dim on columns then resample columns then go back…