Skip to content

itertools 0.1.2

Latest
Compare
Choose a tag to compare
@ramhiser ramhiser released this 02 Feb 02:47
· 5 commits to master since this release

Iterators

  • icombinations(): Iterator that generates all combinations of a vector of
    length n taken m at a time. By default, the combinations are without
    replacement
    so that elements are not repeated. To generate combinations
    with replacement, set replacement=TRUE.
  • ipermutations(): Iterator that returns all permutations of a vector.
  • itripletwise(): Iterator that returns elements of an object in triplets.

Miscellaneous

  • iproduct() can now repeat a Cartesian product multiple times with the
    times argument. By default, repeated only once.