iterpc

Efficient Iterator for Permutations and Combinations

Iterator for generating permutations and combinations. They can be either drawn with or without replacement, or with distinct/ non-distinct items (multiset). The generated sequences are in lexicographical order (dictionary order). The algorithms to generate permutations and combinations are memory efficient. These iterative algorithms enable users to process all sequences without putting all results in the memory at the same time. The algorithms are written in C/C++ for faster performance.

Total

16,502

Last month

929

Last week

671

Average per day

31

Daily downloads

Total downloads

Description file content

Package
iterpc
Type
Package
Title
Efficient Iterator for Permutations and Combinations
Version
0.3.4
Date
2017-12-06
Author
Randy Lai [aut, cre]
Maintainer
Randy Lai
Description
Iterator for generating permutations and combinations. They can be either drawn with or without replacement, or with distinct/ non-distinct items (multiset). The generated sequences are in lexicographical order (dictionary order). The algorithms to generate permutations and combinations are memory efficient. These iterative algorithms enable users to process all sequences without putting all results in the memory at the same time. The algorithms are written in C/C++ for faster performance.
URL
License
GPL-2
Depends
R (>= 3.0.0)
Imports
iterators, gmp (>= 0.5-12), Rcpp (>= 0.11.0)
Suggests
foreach, testthat, knitr, rmarkdown
LinkingTo
Rcpp
NeedsCompilation
yes
ByteCompile
yes
RoxygenNote
6.0.1
VignetteBuilder
knitr
Packaged
2017-12-06 07:46:23 UTC; Randy
Repository
CRAN
Date/Publication
2017-12-06 10:51:56 UTC

install.packages('iterpc')

0.3.4

7 days ago

https://randy3k.github.io/iterpc

Randy Lai

GPL-2

Depends on

R (>= 3.0.0)

Imports

iterators, gmp (>= 0.5-12), Rcpp (>= 0.11.0)

Suggests

foreach, testthat, knitr, rmarkdown

Discussions