Array vs Structure - What's the difference?
array | structure |
Clothing and ornamentation.
A collection laid out to be viewed in full.
An orderly series, arrangement or sequence.
* Prescott
Order; a regular and imposing arrangement; disposition in regular lines; hence, order of battle.
* Gibbon
A large collection.
* Byron
* {{quote-news, year=2011
, date=October 23
, author=Phil McNulty
, title=Man Utd 1 - 6 Man City
, work=BBC Sport
(programming) Any of various data structures designed to hold multiple elements of the same type; especially , a data structure that holds these elements in adjacent memory locations so that they may be retrieved using numeric indices.
(legal) A ranking or setting forth in order, by the proper officer, of a jury as impanelled in a cause; the panel itself; or the whole body of jurors summoned to attend the court.
(military) A militia.
To clothe and ornament; to adorn or attire
To lay out in an orderly arrangement; to deploy or marshal
(legal) To set in order, as a jury, for the trial of a cause; that is, to call them one at a time.
A cohesive whole built up of distinct parts.
* {{quote-book, year=1963, author=(Margery Allingham)
, title=(The China Governess)
, chapter=1 The underlying shape of a solid.
The overall form or organization of something.
* {{quote-magazine, date=2012-03
, author=
, title=Pixels or Perish
, volume=100, issue=2, page=106
, magazine=
A set of rules defining behaviour.
(computing) Several pieces of data treated as a unit.
(fishing, uncountable) Underwater terrain or objects (such as a dead tree or a submerged car) that tend to attract fish
A body, such as a political party, with a cohesive purpose or outlook.
(logic) A set along with a collection of finitary functions and relations.
To give structure to; to arrange.
As verbs the difference between array and structure
is that array is to clothe and ornament; to adorn or attire while structure is .As a noun array
is clothing and ornamentation.As an adjective structure is
structured.array
English
Noun
(en noun)- (Dryden)
- a gallant array of nobles and cavaliers
- drawn up in battle array
- wedged together in the closest array
- their long array of sapphire and of gold
- We offer a dazzling array of choices.
citation, page= , passage=Mario Balotelli, in the headlines for accidentally setting his house ablaze with fireworks, put City on their way with goals either side of the interval as United struggled to contain the array of attacking talent in front of them.}}
Usage notes
* (any of various data structures) The exact usage of the term , and of related terms, generally depends on the programming language. For example, many languages distinguish a fairly low-level "array" construct from a higher-level "list" or "vector" construct. Some languages distinguish between an "array" and a variety of "associative array"; others have only the latter concept, calling it an "array".Derived terms
* * * * *Antonyms
* (orderly series) disarraySee also
* (any of various data structures) ones-based indexing, zero-based indexingVerb
- He was arrayed in his finest robes and jewels.
- (Blackstone)
structure
English
(wikipedia structure)Noun
(en noun)citation, passage=The original family who had begun to build a palace to rival Nonesuch had died out before they had put up little more than the gateway, so that the actual structure which had come down to posterity retained the secret magic of a promise rather than the overpowering splendour of a great architectural achievement.}}
- The birds had built an amazing structure out of sticks and various discarded items.
- He studied the structure of her face.
citation, passage=Drawings and pictures are more than mere ornaments in scientific discourse. Blackboard sketches, geological maps, diagrams of molecular structure , astronomical photographs, MRI images, the many varieties of statistical charts and graphs: These pictorial devices are indispensable tools for presenting evidence, for explaining a theory, for telling a story.}}
- The structure of a sentence.
- The structure of the society was still a mystery.
- For some, the structure of school life was oppressive.
- This structure contains both date and timezone information.
- There's lots of structure to be fished along the west shore of the lake; the impoundment submerged a town there when it was built.
- The South African leader went off to consult with the structures .
Synonyms
* (cohesive whole built up of distinct parts) formation * (underlying shape of a solid) formation * (overall form or organization of something) makeup, configurationDerived terms
* antistructureVerb
(structur)- I'm trying to structure my time better so I'm not always late.
- I've structured the deal to limit the amount of money we can lose.