Skip to content

DescentBottomWord ​

Letter v is 1 when value v is a descent bottom: some larger value immediately precedes it.

DescentBottomWord(Permutation)Letter v is 1 when value v is a descent bottom: some larger value immediately precedes it.
Typed signatures
TypePackageApplies
(permutation) -> binary_wordcombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a Permutation and returns a BinaryWord — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • Value n is never a descent bottom, so the last letter stands for n - 1.

Examples

Basic #

the one-line word 231231

live ↗
InDescentBottomWord(Permutation⁡([2,3,1]))\mathrm{DescentBottomWord}({\operatorname{Permutation}}([2, 3, 1]))OutBinaryWord⁡([1,0]){\operatorname{BinaryWord}}([1, 0])
About
Examples1
CrosswalkFindStat