multicool

Permutations of Multisets in Cool-Lex Order

CRAN Package

A set of tools to permute multisets without loops or hash tables and to generate integer partitions. The permutation functions are based on C code from Aaron Williams. Cool-lex order is similar to colexicographical order. The algorithm is described in Williams, A. Loopless Generation of Multiset Permutations by Prefix Shifts. SODA 2009, Symposium on Discrete Algorithms, New York, United States. The permutation code is distributed without restrictions. The code for stable and efficient computation of multinomial coefficients comes from Dave Barber. The code can be download from http://tamivox.org/dave/multinomial/index.html and is distributed without conditions. The package also generates the integer partitions of a positive, non-zero integer n. The C++ code for this is based on Python code from Jerome Kelleher which can be found here https://jeromekelleher.net/category/combinatorics.html. The C++ code and Python code are distributed without conditions.

  • Version1.0.1
  • R versionunknown
  • LicenseGPL-2
  • Needs compilation?Yes
  • Last release02/05/2024

Documentation


Team


Insights

Last 30 days

This package has been downloaded 32,426 times in the last 30 days. That's enough downloads to make it mildly famous in niche technical communities. A badge of honor! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 1,205 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
1,126 downloadsMar 3, 2025
1,237 downloadsMar 4, 2025
1,382 downloadsMar 5, 2025
1,411 downloadsMar 6, 2025
1,057 downloadsMar 7, 2025
650 downloadsMar 8, 2025
857 downloadsMar 9, 2025
1,406 downloadsMar 10, 2025
1,244 downloadsMar 11, 2025
1,168 downloadsMar 12, 2025
1,222 downloadsMar 13, 2025
1,040 downloadsMar 14, 2025
623 downloadsMar 15, 2025
657 downloadsMar 16, 2025
1,151 downloadsMar 17, 2025
1,269 downloadsMar 18, 2025
1,307 downloadsMar 19, 2025
1,189 downloadsMar 20, 2025
1,115 downloadsMar 21, 2025
582 downloadsMar 22, 2025
626 downloadsMar 23, 2025
1,168 downloadsMar 24, 2025
1,314 downloadsMar 25, 2025
1,370 downloadsMar 26, 2025
1,316 downloadsMar 27, 2025
1,175 downloadsMar 28, 2025
709 downloadsMar 29, 2025
690 downloadsMar 30, 2025
1,160 downloadsMar 31, 2025
1,205 downloadsApr 1, 2025
0 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
582
1,411

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 333,866 times in the last 365 days. This is the kind of download count that makes grant committees nod approvingly. A job well done, even the stoic reviewers might be impressed! The day with the most downloads was Feb 12, 2025 with 2,797 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends1 package
  • Linking To1 package
  • Reverse Imports9 packages