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. Note: 'iterpc' is no longer being maintained. Users are recommended to switch to 'arrangements'.

Total

24,291

Last month

679

Last week

139

Average per day

23

Daily downloads

Total downloads

Description file content

Package
iterpc
Type
Package
Title
Efficient Iterator for Permutations and Combinations
Version
0.4.1
Date
2018-08-08
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. Note: 'iterpc' is no longer being maintained. Users are recommended to switch to 'arrangements'.
URL
License
GPL-2
Depends
R (>= 3.0.0)
Imports
iterators, gmp (>= 0.5-12), arrangements (>= 1.0.0)
Suggests
foreach, testthat, knitr, rmarkdown
ByteCompile
yes
RoxygenNote
6.1.0
VignetteBuilder
knitr
NeedsCompilation
no
Packaged
2018-08-08 20:45:34 UTC; randy
Repository
CRAN
Date/Publication
2018-08-08 21:10:03 UTC

install.packages('iterpc')

0.4.1

4 months ago

https://randy3k.github.io/iterpc

Randy Lai

GPL-2

Depends on

R (>= 3.0.0)

Imports

iterators, gmp (>= 0.5-12), arrangements (>= 1.0.0)

Suggests

foreach, testthat, knitr, rmarkdown

Discussions