Skip to content

Hills

Peaks at height 1 — an up step from the axis immediately followed by a down step.

Hills(path)

Domain: Dyck path statistics

Details
  • Defined over `DyckPath` as an expression in `_x`, evaluated by compute-engine — the definition IS the implementation.
  • Takes a `DyckPath` and nothing else — it reads values against their positions, or walks the orbits, so it needs the bijection. Applying it to a bare list is a type error, not a wrong answer.

Examples