Efficient Iterator for Permutations and Combinations


[Up] [Top]

Documentation for package ‘iterpc’ version 0.4.2

Help Pages

iterpc-package Efficient Iterator for Permutations and Combinations
getall Get all permutations/combinations for a iterator
getcurrent Get the current element of a iterator
getlength Get the length for a iterator
getnext Get the next permutation(s)/combination(s) for a iterator
iterpc Efficient Iterator for Permutations and Combinations
iter_wrapper Wrap iterpc objects by iterators::iter
multichoose Calculate multinomial coefficient
nc_multiset Calculate the number of r-combinations of a multiset
np_multiset Calculate the number of r-permutations of a multiset