distro.spad line 168 [edit on github]
A package for weighted Motzkin paths over a ring.
bottom(x)
returns the bottom entry of each column.
jacobiPathArray([b0, b1, ...], [c1, c2, ...])
computes Flajolet's
Motzkin path array from the sequences [1, 1, ...], bi
, ci
.
motzkinPathArray([a0, a1, ...], [b0, b1, ...], [c1, c2, ...])
computes Flajolet's
Motzkin path array from the sequences ai
, bi
, ci
.