Skip to content
#

permutation

Here are 197 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

Improve this page

Add a description, image, and links to the permutation 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 permutation topic, visit your repo's landing page and select "manage topics."

Learn more