Thanks Dirk, would I still create a rcpp skeleton package and dump the
*.cpp files into src, then just use Rcpp::export? What about all the .h
files in that library?
Thanks
On Tuesday, January 13, 2015, Dirk Eddelbuettel wrote:
>
> On 13 January 2015 at 00:16, Jeffrey Wong wrote:
>
the best way for making this
accessible through Rcpp?
--
Jeffrey Wong
My portfolio: http://jeffreycwong.com <http://jeffreyctwong.com>
___
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/m
icVector output(grid.nrow());
// SquareRoot functor (pass input and output matrixes)
GridSearch gridSearch(grid, f, output);
// call parallelFor to do the work
parallelFor(0, grid.nrow(), gridSearch);
// return the output matrix
return output;
}
--
Jeffrey Wong
My portfol