Array Data Structure - Meaning of Dimension

Meaning of Dimension

The dimension of an array is the number of indices needed to select an element. Thus, if the array is seen as a function on a set of possible index combinations, it is the dimension of the space of which its domain is a discrete subset. Thus a one-dimensional array is a list of data, a two-dimensional array a rectangle of data, a three-dimensional array a block of data, etc.

This should not be confused with the dimension of the set of all matrices with a given domain, that is, the number of elements in the array. For example, an array with 5 rows and 4 columns is two-dimensional, but such matrices form a 20-dimensional space. Similarly, a three-dimensional vector can be represented by a one-dimensional array of size three.

Read more about this topic:  Array Data Structure

Famous quotes containing the words meaning of, meaning and/or dimension:

    Philosophers have actually devoted themselves, in the main, neither to perceiving the world, nor to spinning webs of conceptual theory, but to interpreting the meaning of the civilizations which they have represented, and to attempting the interpretation of whatever minds in the universe, human or divine, they believed to be real.
    Josiah Royce (1855–1916)

    In our definitions, we grope after the spiritual by describing it as invisible. The true meaning of spiritual is real; that law which executes itself, which works without means, and which cannot be conceived as not existing.
    Ralph Waldo Emerson (1803–1882)

    By intervening in the Vietnamese struggle the United States was attempting to fit its global strategies into a world of hillocks and hamlets, to reduce its majestic concerns for the containment of communism and the security of the Free World to a dimension where governments rose and fell as a result of arguments between two colonels’ wives.
    Frances Fitzgerald (b. 1940)