iterpc

Efficient Iterators for Permutations and Combinations

A collection of iterators for generating permutations and combinations with or without replacement; with distinct items or 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 performances.

Total

14,821

Last month

1,317

Last week

182

Average per day

44

Daily downloads

Total downloads

Description file content

Package
iterpc
Type
Package
Title
Efficient Iterators for Permutations and Combinations
Version
0.3.3
Date
2017-09-12
Author
Randy Lai [aut, cre]
Maintainer
Randy Lai
Description
A collection of iterators for generating permutations and combinations with or without replacement; with distinct items or 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 performances.
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-09-12 17:52:08 UTC; randy
Repository
CRAN
Date/Publication
2017-09-12 20:41:15 UTC

install.packages('iterpc')

0.3.3

11 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