Back to list

Conversion of R package into Matlab

  • Matlab
  • R-language
  • C++

Porting R code of 'hit-and-ran' package into Matlab

Translation of R code from "hit-and-ran" package ( index.html) for a uniform sampling choice of points from the border or inside of convex objects. This algorithm can be used to solve optimization problems.

After analyzing the source code of the package, the developer offered to keep part of the package in unchanged form, with the help of wrappers for the code that was realized in C. They were then compiled into mex files to be called from Matlab.

The R code has been translated into Matlab language, also a detailed documentation of the final decision was also written.

Development time
2 weeks of 1 developer