Last data update: 2014.03.03
|
multicool
Package: multicool
Type: Package
Title: Permutations of Multisets in Cool-Lex Order
Version: 0.1-9
Date: 2015-10-28
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://home.comcast.net/~tamivox/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/partitions.php. The C++ code and Python code are distributed without conditions.
License: GPL-2
Depends: methods, Rcpp (>= 0.11.2)
LinkingTo: Rcpp
RcppModules: Multicool
NeedsCompilation: yes
Packaged: 2015-10-28 08:46:16 UTC; jcur002
Repository: CRAN
Date/Publication: 2015-10-28 18:39:18
Install log
* installing to library '/home/ddbj/local/lib64/R/library'
* installing *source* package 'multicool' ...
** package 'multicool' successfully unpacked and MD5 sums checked
** libs
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I/usr/local/include -I"/home/ddbj/local/lib64/R/library/Rcpp/include" -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I/usr/local/include -I"/home/ddbj/local/lib64/R/library/Rcpp/include" -fpic -g -O2 -c compositions.cpp -o compositions.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I/usr/local/include -I"/home/ddbj/local/lib64/R/library/Rcpp/include" -fpic -g -O2 -c multicool.cpp -o multicool.o
g++ -shared -L/home/ddbj/local/lib64/R/lib -L/usr/local/lib64 -o multicool.so RcppExports.o compositions.o multicool.o -L/home/ddbj/local/lib64/R/lib -lR
installing to /home/ddbj/local/lib64/R/library/multicool/libs
** R
** preparing package for lazy loading
** help
*** installing help indices
converting help for package 'multicool'
finding HTML links ... done
Bell html
Stirling2 html
allPerm html
genComp html
initMC html
multinom html
nextPerm html
** building package indices
** testing if installed package can be loaded
* DONE (multicool)
Making 'packages.html' ... done
|