Jump to content

Inversion (discrete mathematics)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Kostmo (talk | contribs) at 05:21, 10 February 2009 (Created page with ''''Inversion''' in a sequence refers to a pair of numbers that are "out of order" with respect to an ascending or descending order. Formally, let <...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Inversion in a sequence refers to a pair of numbers that are "out of order" with respect to an ascending or descending order.

Formally, let be an array of distinct numbers. If and , then the pair is called an inversion of .

  • Cormen, Thomas H. (2001). Introduction to Algorithms (2nd ed.). MIT Press and McGraw-Hill. ISBN 0-262-53196-8. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)