问题
i'd been surfing the web for several hours finding always the same sites and no real answer to my query. Here's the thing, i'd like to port some of the Octave functions to a iPad/iPhone app.
i'd already tried to mix C++ with Obj-C and it works like a charm BUT i haven't been able to find the right source of OCTAVE to compile at least the very core of it, i did download the source code from sourceforge.net but i'd had seen some fortran and some other languages classes but not c++ classes.
Does anyone over here had found or had worked with some C++ classes that holds the OCTAVE functions so i can port that to iOS.
Thanks in advance for your time.
Regards,
Jorge.
回答1:
This may not answer your question, but might help: If the Octave functions you are using are relatively simple, you could try using a linear algebra package such as Armadillo. The docs contain a conversion sheet from Octave/MATLAB to C++.
回答2:
Check if the functions you need are in Accelerate.framework, it embeds BLAS and it's optimized for each platform.
来源:https://stackoverflow.com/questions/7801925/porting-octave-c-to-ios