Skip to content
Prev 9932 / 10988 Next

[Rcpp-devel] how to reference a row of a matrix in C++ in Rcpp

Le 20/03/2018 ? 12:10, akshay kulkarni a ?crit?:
SO is too big to check this assertion by ourself. Do you have a link?
Try

cppFunction('IntegerVector tccp3(IntegerMatrix M) { IntegerVector x = M(2,_); return x;}')

Best,
Serguei.