Package: multicool
Type: Package
Title: Permutations of Multisets in Cool-Lex Order
Version: 0.1-11
Date: 2019-12-04
Author: James Curran, Aaron Williams, Jerome Kelleher, Dave Barber
Maintainer: James Curran <j.curran@auckland.ac.nz>
Description: 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 <http://jeromekelleher.net/category/combinatorics.html>. The C++ code and Python code are distributed without conditions.
Encoding: UTF-8
License: GPL-2
Depends: methods, Rcpp (>= 0.11.2)
LinkingTo: Rcpp
SystemRequirements: C++11
RcppModules: Multicool
RoxygenNote: 6.1.1
NeedsCompilation: yes
Packaged: 2019-12-05 02:39:27 UTC; jcur002
Repository: CRAN
Date/Publication: 2019-12-05 08:00:09 UTC
Built: R 4.0.5; x86_64-w64-mingw32; 2021-05-22 00:00:43 UTC; windows
Archs: x64
