Above 3D Array

Discussion in 'Programming' started by Sporsho, Jan 22, 2008.

  1. #1
    I have managed upto 3d array. Does anybody has the experience of managing 4d array or above? How is it? Is it similar to managing 3d array?
     
    Sporsho, Jan 22, 2008 IP
  2. webmaster_TSU

    webmaster_TSU Peon

    Messages:
    449
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Any higher dimension array is going to be handled similiarly. It gets more confusing logically, the higher you go, just because it's harder to envision the structure. You know, if it's a 2D you can imagine it's a table, 3D a series of tables, but higher order it gets a little harder to imagine.

    Also, looping through higer dimension arrays adds a higher execution time to the program, 4D could be O(N^4).
     
    webmaster_TSU, Jan 22, 2008 IP
  3. lephron

    lephron Active Member

    Messages:
    204
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    What do you need to use a higher order array for? I can't imagine any situation where it makes sense to use one. I'm sure there is another data structure better suited to your needs
     
    lephron, Jan 23, 2008 IP
  4. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #4
    In physics 4D (and above) is used - a typical example is denoting somethings position in terms of height, depth, width & time
     
    AstarothSolutions, Jan 23, 2008 IP
  5. Sporsho

    Sporsho Peon

    Messages:
    153
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi, I wish who are not known about the higher sense of knowledge, would not comment about that knowledge:cool:. 3d array would not come to view if it has no use. It is easy to solve the problem of theory of relativity with 3d and 4d array. I do not know which data structure would be so easy to replace the 3d and 4d array in the relativity theory.
    Thanks for Comment :D
     
    Sporsho, Jan 27, 2008 IP