Partition vs Array - What's the difference?

partition | array |


As nouns the difference between partition and array

is that partition is partition (section of a hard disk separately formatted) while array is clothing and ornamentation.

As a verb array is

to clothe and ornament; to adorn or attire.

partition

Noun

(en noun)
  • An action which divides a thing into parts, or separates one thing from another.
  • * Shakespeare
  • And good from bad find no partition .
  • A part of something that has been divided.
  • The division of a territory into two or more autonomous ones.
  • ''Monarchies where partition isn't prohibited risk weakening trough parcellation and civil wars between the heirs
  • A vertical structure that divides a room.
  • a brick partition'''; lath and plaster '''partitions
  • That which divides or separates; that by which different things, or distinct parts of the same thing, are separated; boundary; dividing line or space.
  • * Dryden
  • No sight could pass / Betwixt the nice partitions of the grass.
  • A part divided off by walls; an apartment; a compartment.
  • * Milton
  • Lodged in a small partition .
  • (legal) The severance of common or undivided interests, particularly in real estate. It may be effected by consent of parties, or by compulsion of law.
  • (computing) A section of a hard disk separately formatted.
  • (databases) A division of a database or one of its constituting elements such as tables into separate independent parts.
  • (set theory) A collection of non-empty, disjoint subsets of a set whose union is the set itself (i.e. all elements of the set are contained in exactly one of the subsets).
  • (music) A musical score.
  • Usage notes

    * (set theory) The elements of the collection are sometimes called the blocks or parts of the partition.

    Synonyms

    * dismemberment

    Derived terms

    * equipartition

    Verb

    (en verb) (transitive)
  • To divide something into parts, sections or shares
  • To divide a region or country into two or more territories with separate political status
  • To separate or divide a room by a partition (ex. a wall), often use with off
  • Synonyms

    * dismember

    Derived terms

    * partitioner * partitionist

    array

    English

    Noun

    (en noun)
  • Clothing and ornamentation.
  • (Dryden)
  • A collection laid out to be viewed in full.
  • An orderly series, arrangement or sequence.
  • * Prescott
  • a gallant array of nobles and cavaliers
  • Order; a regular and imposing arrangement; disposition in regular lines; hence, order of battle.
  • drawn up in battle array
  • * Gibbon
  • wedged together in the closest array
  • A large collection.
  • * Byron
  • their long array of sapphire and of gold
    We offer a dazzling array of choices.
  • * {{quote-news, year=2011
  • , date=October 23 , author=Phil McNulty , title=Man Utd 1 - 6 Man City , work=BBC Sport 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.}}
  • (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.
  • 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) disarray

    See also

    * (any of various data structures) ones-based indexing, zero-based indexing

    Verb

  • To clothe and ornament; to adorn or attire
  • He was arrayed in his finest robes and jewels.
  • 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.
  • (Blackstone)