I have a following task to do. Lets say I have a simple function written in c++:
1 2 3 4
double** myFunction(double** myPointer)
{
// some calculations here
}
Now, I would like to use this function in Python and in R. Could you recommend me a easy way of doing it? A tutorial maybe? Should I use rcpp for R? And python.h for Python?