When you are doing some computations in C++ you might not want to write everything yourself including optimizing advanced algorithms. You would want to reuse code or write it in a numerical computing environment such as matlab, octave, R, or python. In this post I link to sources that explain how to include such high-level code in C++ or to call it from a C++ program.
How to embed matlab code in C++? Seems a little involved but works on windows and linux.
How to embed octave code in C++? See this post for examples (haven't tried it myself).
How to embed GNU R code in C++? Seems very simple. Use Rinside!
You'll find explanations of embedding python in C++ in this article and this post.
Disclaimer: Of the linked material, I only saw Rinside in action.
U COMMENT
I FOLLOW




Subscribe to replies to this post
This conversation is missing your voice. Your feedback is appreciated.
Post a Comment
You can use some HTML tags, such as <b>, <i>, <a>
You can follow the discussion of this post by subscribing.
You are free to include information from this article on your own site if you provide a backlink. You can use the following markup: