Displaying 1 result from an estimated 1 matches for "tp3567793p3570165".
2011 Jun 02
2
Export a function from RCPP in R of type double
Hello to everyone
I have written a small c++ function of type double function(double,double);
and i want to export it in R using RCPP. After some trials i have realized
that the only way i could do it working is to declare the function as void
function (double x, double y, double result) and pass the result with RCPP
Can you please tell me if this is the only way out?
And if this is the case how