Ordered partitions: Difference between revisions
m
→{{header|Julia}}: fix syntax highlighting markup
Alextretyak (talk | contribs) m (→{{header|11l}}) |
Thundergnat (talk | contribs) m (→{{header|Julia}}: fix syntax highlighting markup) |
||
Line 1,522:
The method used, as seen in the function masked(), is to take a brute force permutation of size n = sum of partition,
partition it using the provided mask, and then sort the inner lists in order to properly filter duplicates.
<lang
using Combinatorics
|