Package: multicool 1.0.2.001

multicool: Permutations of Multisets in Cool-Lex Order

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. Multinomial coefficients, Stirling numbers of the second kind and Bell numbers are computed exactly using the 'gmp' package. 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 is included in the package, and the algorithm is described in Kelleher and O'Sullivan (2009) <doi:10.48550/arXiv.0909.2331>. The C++ code and Python code are distributed without conditions.

Authors:James Curran [aut, cre], Aaron Williams [aut], Jerome Kelleher [aut]

multicool_1.0.2.001.tar.gz
multicool_1.0.2.001.zip(r-4.7-x86_64)multicool_1.0.2.001.zip(r-4.7-arm64)multicool_1.0.2.001.zip(r-4.6-x86_64)multicool_1.0.2.001.zip(r-4.6-arm64)multicool_1.0.2.001.zip(r-4.5-x86_64)
multicool_1.0.2.001.tgz(r-4.6-x86_64)multicool_1.0.2.001.tgz(r-4.6-arm64)multicool_1.0.2.001.tgz(r-4.5-x86_64)multicool_1.0.2.001.tgz(r-4.5-arm64)
multicool_1.0.2.001.tar.gz(r-4.7-arm64)multicool_1.0.2.001.tar.gz(r-4.7-x86_64)multicool_1.0.2.001.tar.gz(r-4.6-arm64)multicool_1.0.2.001.tar.gz(r-4.6-x86_64)
multicool_1.0.1.003.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
multicool/json (API)

# Install 'multicool' in R:
install.packages('multicool', repos = c('https://jmcurran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jmcurran/multicool/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

8.04 score 2 stars 297 packages 18 scripts 34k downloads 9 exports 2 dependencies

Last updated from:857dc30472. Checks:14 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK94
linux-devel-x86_64OK105
source / vignettesOK157
linux-release-arm64OK87
linux-release-x86_64OK99
macos-release-arm64OK117
macos-release-x86_64OK196
macos-oldrel-arm64OK81
macos-oldrel-x86_64OK241
windows-devel-arm64OK196
windows-devel-x86_64OK128
windows-release-arm64OK225
windows-release-x86_64OK89
windows-oldrel-x86_64OK98
wasm-releaseFAIL84

Exports:allPermBBellgenCompinitMCmultinomnextPermS2Stirling2

Dependencies:gmpRcpp