answersLogoWhite

0

3-D arrays can be represented as a single dimension of tables. Each table has rows and columns. Each table may also refered as Page. Let a[x][y][z] is an element of a three dimensional array 'a' at the xth Page, Within that page yth row and zth column. In memory it will be stored as sequence of memory locations. Suppose array index starts from 0,0,0. If the first element of the array is stored in location M, The address of the a[i][j][k] = (i-1)U2U3 + (j-1)U3 + (k-1), Where U2 and U3 are the dimention of a table.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How do you explain how an integer can be represented using BCD?

Explain how an integer can be represented using BCD?


What is the 5th dimension?

To explain multidimensional concepts is difficult. First a shadow is a two dimensional representation of a three dimensional object. You have to turn the object to see more than one side of the 3D object. A 3D object is a representation of a 4th dimensional object and a 4th dimensional objects represents the 5th dimension. To see pictures represented graphically a computer can help. If we research polytopes it will give examples.


What map is going to be the most accurate and explain why?

It is a 2 dimensional map


How you can explain what is perspective?

Linear perspective is a mathematical system for projecting the three-dimensional world onto a two-dimensional surface, such as paper or canvas


The square of a number is the second power of the number The cube of a number is the third power of the number Explain why there names are reasonable?

a square is 2 dimensional and a cube is 3 dimensional


What famous scientist created a theory to explain a spherical four-dimensional closed universe?

Einstein


Can you explain why the cube is not a quadrilateral?

A cube is a 3 dimensional shape with 6 faces, 12 edges and 8 vertices whereas a quadrilateral is a 2 dimensional shape with 4 sides.


Explain the Different types of array?

one dementional array and two dementional array


Explain how you can produce a three dimensional shape from a two dimensional material.?

To produce a three-dimensional shape from a two-dimensional material, you can utilize techniques such as folding, cutting, or bending the material. For example, origami involves folding paper to create intricate three-dimensional forms. Alternatively, you can cut and assemble flat pieces into a three-dimensional structure, like in the case of creating models or sculptures. This transformation relies on manipulating the flat material to occupy space in three dimensions.


Explain how you can produce a three dimensional shape from the two dimensional material?

Well, isn't that just a happy little question! You see, to create a three-dimensional shape from a two-dimensional material, all you need is a little imagination and some creativity. By folding, cutting, or manipulating the material in different ways, you can give it depth and form, turning a flat surface into a beautiful, three-dimensional masterpiece. Just remember, there are no mistakes, only happy accidents!


Explain the concept of income elasticity of demand and how it is calculated?

When you have less income you tend to consume less.


State and explain triangle law of vector?

if two vectors are represented in magnitude and direction by the two sides of a triangle taken in one order ,their resultant vector is represented by the third side of the triangles taken in reverse order