I just realised that `Compositions` and `IntegerListLex` do not seem to
support generation of lists whose entries are in a specified set. I admit
that I'm not sure it would be worth it.
Martin
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To
Le 19/02/2019 à 21:43, Jori Mäntysalo (TAU) a écrit :
Is there a fast way to compute for example
Compositions(15, min_length=10, max_length=10).cardinality()
in some package already integrated to SageMath? For Partitions(...) that
seems to be the case, but Compositions(...) uses just brute enum
Is there a fast way to compute for example
Compositions(15, min_length=10, max_length=10).cardinality()
in some package already integrated to SageMath? For Partitions(...) that
seems to be the case, but Compositions(...) uses just brute enumeration.
--
Jori Mäntysalo
Tampereen yliopisto - Ihm