I'm looking to obtain the coordinates of all the 4D-hypercubes generated by using meshgrid in 4D.
The thing is that I have irregular divisions of the axes.
For example:
x = [0,1,2,3,5]
y = [0,1,2,3]
z = [0,1,2,3,4]
w = [0,1,2,3,5,6]
My idea is to
- Generate a 4D grid using these subdivisions.
- Then I'd like to obtain all of the 4D-hypercubes generated by these.
- Finally the 4D-coordinates for each of the resulting hypercubes.
I've tried to find a solution without success.
Could anyone give me a python solution.