What diagrams can be used to visualize 4-dimensional arrays? -
how can understand visualize 4 dimension array in head?
1 dimension pretty easy: x x x x x x
2 dimension still have no problems:
x x x x x x x x x x x x x x x x x x
3 dimensions, can not draw here can imagine more x 's coming out each x in 2 dimension array.
how 4 dimension?
for 4d, imagine having dimension, there 3d cube @ each point along dimension. more dimensions.
think how 4d arrays work in java, or c - in both cases arrays of arrays of arrays. can visualize them that.
but in many cases, 4d-array used cache, array[iteration][object_id][g-force][whatever] . thre no point in visualizing that.
Comments
Post a Comment