68.1k views
21 votes
Difference between multidimensional arrays and an example​

1 Answer

3 votes

Answer:

The generic data structure of a n-dimensional array is a tensor.

An example with 3 dimension can be a cube that contains the following dimensions: users, items, time. That cube can represent the interactions of users with verifiied pages of public interests (influencers or company/media pages) in time slots (e.g. weekly timeslots).

Step-by-step explanation:

You can represent in a sparse 3-dimensional array (tensor) the combinations of which user interacted with wich item in a given timeslow.

User GarethTheRed
by
3.5k points