DOCUMENTATION CalcMe
  • language Translations of this page
    • Translations of this page
    • Català (ca)
    • Dansk (da)
    • Deutsch (de)
    • English (en)
    • Español (es)
    • Français (fr)

  1. Wiris Ecosystem Documentation
  2. CalcMe documentation
  3. Commands
  4. Combinatorics and progressions
  5. Transposition

en:calc:commands:combinatorics_progressions:transposition

Transposition

Constructs a transposition.

Syntax

transposition(Integer, Integer)

Description

transposition(Integer, Integer)

Given two integers a and b, returns the permutation that maps a to b, b to a, and all the other elements remain unchanged. The length of the permutation is given by the maximum of a and b.

Related functions

Order, Cycles representation

Table of Contents
  • Syntax
  • Description
  • Related functions
Log In

Copyright © WIRIS 2021. All rights reserved.