Use numeric sequence as default agument in Rcpp (Armadillo) function

后端 未结 0 755
轮回少年
轮回少年 2020-12-18 19:45

I need this for a bigger project but I think this minimal reprex explains it best. I have the following function in R:

test <- function(x = 2^(1:9)) {
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题