2017-07-29 16:15 GMT+02:00 Dirk Eddelbuettel <e...@debian.org>:
>
> On 29 July 2017 at 15:48, Iñaki Úcar wrote:
> | Yes, I am, and I think that my use case is slightly different. My
> | understanding is, correct me if I'm wrong, that RcppDE implements some
> | C++ functions and the user is able to choose which one the backend
> | should use via its name. In my case, the user is the one that would
> | implement a C++ function for which the backend is unaware: it doesn't
> | know the name and it's located in another dynamic library.
>
> Exactly the same here.  You misunderstood the example and failed to grasp the
> generality.
>
> All you do is specify a signature -- i.e. accepting two NumericVector and
> returning a third.   Then the external pointer takes care of everything.  You
> as the API provider known nothing about the supplied functions.
>
> Ditto in RcppDE. Optmises any function.

Ok, then I have to check RcppDE more in detail. Thanks for your help!

Iñaki
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to