MinimalDyckPath
The shortest Dyck path tracing the shape of the Ferrers diagram.
FindStat
Mp00043via IntegerPartitionMinimalDyckPath(IntegerPartition)The shortest Dyck path tracing the shape of the Ferrers diagram.Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer_partition) -> dyck_path | combinatorics | always |
Details
- Takes a
IntegerPartitionand returns aDyckPath— a typed map, so a wrong carrier is a type error rather than a wrong answer. - FindStat's Mp00043, Sage's partition to minimal Dyck word. Injective: the partition is the region above the path, and this is the shortest path whose region it is.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |