[Previous] [Next] [Contents]

## `SG::RRep2Perm` -- calculates a permutation from its matrix in the regular representation

#### Call(s)

`SG::RRep2Perm(m)`

#### Parameters

`m` | - | a square matrix

#### Introduction

The `SG::RRep2Perm` function calculates a permutation from its matrix in the regular representation, that is to say the matrix of the linear operator "left multiplication by perm".

#### Example 1

    >> muEC::SG::Perm2RRep( [3,1,2] );

                              +-                  -+
                              |  0, 0, 0, 1, 0, 0  |
                              |                    |
                              |  0, 0, 1, 0, 0, 0  |
                              |                    |
                              |  0, 0, 0, 0, 0, 1  |
                              |                    |
                              |  0, 0, 0, 0, 1, 0  |
                              |                    |
                              |  1, 0, 0, 0, 0, 0  |
                              |                    |
                              |  0, 1, 0, 0, 0, 0  |
                              +-                  -+

    >> muEC::SG::RRep2Perm( % );

                                     [3, 1, 2]

#### Related Functions

`Mat2Perm`, `Perm2Mat`, `Perm2RRep`

[Previous] [Next] [Contents]

MuPAD Combinat, an open source algebraic combinatorics package