[Previous] [Next] [Contents]

[ImplState=stable,TestState=stable,DocState=stable]

## `combinat::permutations::saillances` -- Saillances of permutations

#### Introduction

Functions related to the saillances of permutations

#### Details

- A saillance of a permutation p=(p1,p2,...,pn) is an integer i such that pi>pj, for all j>i.

#### Method saillancesNumber: saillances number of a permutation

- `saillancesNumber(permutation p)`

- Returns the number of saillances of the permutation `p`.
- This function may be renamed in the future.

#### Example 1

The saillances of a permutation are computed as:

    >> combinat::permutations::saillances([7, 1, 4, 6, 2, 5, 3]);

                                   [1, 4, 6, 7]

The number of saillances can be directly computed using:

    >> combinat::permutations::saillancesNumber([7, 1, 4, 6, 2, 5, 3]);

                                         4

[Previous] [Next] [Contents]

MuPAD Combinat, an open source algebraic combinatorics package