COMP::ListCompoFiner
--
all compositions finer than a given one
COMP::ListCompoFiner(compo)
compo | - | any list denoting a composition |
The COMP::ListCompoFiner
function generates all compositions finer than a given
composition compo
(obtained by decomposing parts of compo
).
The result is a list of compositions.
>> muEC::COMP::ListCompoFiner([2,1,3]);
[[2, 1, 3], [1, 1, 1, 3], [2, 1, 2, 1], [1, 1, 1, 2, 1], [2, 1, 1, 2], [1, 1, 1, 1, 2], [2, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1]]
ListCompo
, ListCompoFatter
, TYP::IsCompo
MuPAD Combinat, an open source algebraic combinatorics package