Permutation

One of the types of objects in Praat. A Permutation object with n elements consists of some ordering of the numbers 1,2...n.

Interpretation

A permutation like for example (2,3,5,4,1) is an arrangement of the five objects 1, 2, 3, 4, and 5. It tells us that the second object is in the first position, the third object is in the second position, the fifth object in the third position and so on.

If we combine a Permutation together with an other object, like a Strings for example, we may force a new arrangement of the strings, according to the specification in the Permutation (see Strings & Permutation: Permute strings).

Commands

Creation:

Query:

Modification:

Permutations:

Successive permutations:

Usage

Strings & Permutation: Permute strings to rearrange the strings in a Strings object.
TableOfReal & Permutation: Permute rows to rearrange the rows in a TableOfReal object.

Links to this page


© djmw, July 21, 2005