Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • Wiris Quizzes

      • Learning Lemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Home
                      • CalcMe
                      • Commands
                      • Combinatorics and Progressions
                      • Combinatorics and Progressions

                      Sign

                      Reading time: 1min

                      Nota

                      Working with numbers? See Sign (Arithmetic).

                      Returns the sign or parity of a permutation. It can be defined as the parity of pairs of elements x,y such that x<y and σ(x)>σ(y). Thus, the sign is +1 is σ is even or -1 if it is odd. Alternatively, the sign of a permutation can be defined from its decomposition into the product of transpositions as , where m is the number of transpositions in the decomposition (although such decomposition is not unique, the parity is an invariant).

                      Syntax

                      sign(Permutation)
                      

                      Description

                      Given a permutation, returns its sign.

                      Was this article helpful?

                      Yes
                      No
                      Give feedback about this article

                      Related Articles

                      • Combinatorics and Progressions
                      • Arithmetic
                      • Binomial
                      • Category
                      • Combinations

                      Sign

                      Nota Syntax Description

                      Making people’s STEM work more meaningful

                      MathType

                      • MathType for Office Tools
                      • MathType for Mac
                      • MathType for Microsoft 365
                      • MathType for Google Workspace
                      • MathType for LMS
                      • MathType for XML Editors
                      • Arabic notation
                      • Our products accessibility
                      • MathType is online

                      WirisQuizzes

                      Learning Lemur

                      Solutions for Education

                      • Blackboard Learn
                      • Brightspace by D2L
                      • Canvas
                      • Google Classroom
                      • Moodle
                      • Schoology

                      Solutions for Publishing Houses

                      Solutions for Technical Writers

                      Solutions for Chemistry

                      Integrations

                      • HTML Editors
                      • MathType in WordPress

                      Pricing

                      Company

                      Careers

                      Blog

                      Contact Us

                      Buy Now

                      Plugin Downloads

                      © Wiris 2025

                      • Cookie Settings
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Powered by Helpjuice
                      Expand