Skip to content

SignWord ​

The signs as a binary word: letter i is 1 when entry i is negative.

SignWord(SignedPermutation)The signs as a binary word: letter i is 1 when entry i is negative.
Typed signatures
TypePackageApplies
(signed_permutation) -> binary_wordcombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a SignedPermutation and returns a BinaryWord — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • FindStat's Mp00267. Lossy: the absolute values are forgotten.

Examples

Basic #

the signed permutation 2 3ˉ 12\,\bar 3\,1

live ↗
InSignWord(SignedPermutation⁡([2,−3,1]))\mathrm{SignWord}({\operatorname{SignedPermutation}}([2, -3, 1]))OutBinaryWord⁡([0,1,0]){\operatorname{BinaryWord}}([0, 1, 0])
About
Examples1
CrosswalkFindStat