multicool - R package for generating multisets in coolex order.
RForge.net

multicool

About multicool
GIT access
Download/Files
Check results
Package R docs

Description

Package:multicool
Version:1.0.1.003 person("James", "Curran", email = "j.curran@auckland.ac.nz", role = c("aut", "cre")), person("Aaron", "Williams", role = "aut"), person("Jerome", "Kelleher", role = "aut"))
Title:Permutations of Multisets in Cool-Lex Order
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. 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 can be found here . The C++ code and Python code are distributed without conditions.
Depends:methods, Rcpp (>= 0.11.2)
License:GPL-2

Project multicool doesn't have any custom web pages. Use the menu on the left to navigate the default RForge pages for this project.