The stupid question is the question not asked | |
PerlMonks |
Re^3: all permutations of given lenghtby Anonymous Monk |
on Aug 11, 2020 at 10:50 UTC ( [id://11120609]=note: print w/replies, xml ) | Need Help?? |
I am trying to generate an exhaustive list of SMILES codes, including their repetitions.permutations are reorderings, i.e. samples without replacement. You seem to want all possible samples with replacement, i.e. variations_with_repetition.
In Section
Seekers of Perl Wisdom
|
|