I want to create a grid of sampling points in 4 dimensions. I want the points to span from 0 to 10 with equal spacing in each direction. I tried a few iterations of np.mes
np.mes
It looks quite complitated to imagine what was done in Quang's answer so I decided to visualise these tricks in case x consists of two points:
x