CRAN/E | multicool

multicool

Permutations of Multisets in Cool-Lex Order

Installation

About

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 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 . The C++ code and Python code are distributed without conditions.

github.com/jmcurran/multicool
Bug report File report

Key Metrics

Version 1.0.1
Published 2024-02-05 83 days ago
Needs compilation? yes
License GPL-2
CRAN checks multicool results

Downloads

Yesterday 1.225 0%
Last 7 days 6.688 -12%
Last 30 days 29.414 -17%
Last 90 days 99.495 +3%
Last 365 days 346.554 +10%

Maintainer

Maintainer

James Curran

j.curran@auckland.ac.nz

Authors

James Curran
Aaron Williams
Jerome Kelleher
Dave Barber

Material

README
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

multicool archive

Depends

methods
Rcpp ≥ 0.11.2

LinkingTo

Rcpp

Reverse Imports

alphabetr
BMRMM
DNAtools
jack
ks
relSim
SIDES
splitSelect