Skip to content
#

combinations

Here are 121 public repositories matching this topic...

ColeMiller1
ColeMiller1 commented Jul 3, 2020

The FUN argument in comboGeneral() and similar RcppAlgos functions could be more useful if the user is allowed to provide the expected value, similar to vapply(). Currently, a list is allocated which can take up a lot of memory.

library(RcppAlgos)

ans = comboGeneral(15L, 3L, FUN = sum)
object.size(ans)
#> 29168 bytes
object.size(unlist(ans, use.names = FALS

Enumeration of all Permutations (Recursion, Single Swap, and in Lexicographic Order), and Combinations. Enumeration of all Topological Orderings on a Directed Graph. Enumeration of all Paths in a connected Graph. Evaluates Critical Path using PERT Algorithm.

  • Updated Jan 31, 2019
  • Java

Improve this page

Add a description, image, and links to the combinations topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the combinations topic, visit your repo's landing page and select "manage topics."

Learn more