next | previous | forward | backward | up | top | index | toc | Macaulay2 website
CotangentSchubert :: inversion

inversion -- Inversion number of a string

Description

Given a string of digits "a_1 a_2 ... a_n", computes the inversion number of that string (the number of i<j such that a_i>a_j).

For the programmer

The object inversion is a method function.