I have been programming for the last 8 years and now I was just wondering that if there is any practical use of N-Dimensional array,where N>3.I can only visualize of a data structure that is less than or equal to 3 dimensions.Has any one used more than 3 dimensions in any program?Are there any practical uses of a N-D array which is beyond 3d?If so please post some samples.
Share
The only decent example I recall was in the 1982 text Oh! Pascal! which gives you some idea of how rare it has been in my experience.
The example was a stock-keeping system where jeans could be indexed by
which is only slightly contrived. You’d have no problem with a database structured in such a way but it does look funny as code.