移植 OCTAVE C++至 iOS
我已经在网上冲浪了几个小时,发现总是相同的网站,并且没有真正回答我的问题。事情是这样的,我想将一些 Octave 功能移植到 iPad/iPhone 应用程序上。
我已经尝试将 C++ 与 Obj-C 混合在一起,它的工作方式就像一个魅力,但我还没有找到正确的 OCTAVE 源来编译它的核心,我确实从 sourceforge 下载了源代码.net,但我见过一些 fortran 和其他一些语言类,但没有看到 c++ 类。
这里是否有人找到或使用过一些包含 OCTAVE 函数的 C++ 类,以便我可以将其移植到 iOS。
预先感谢您的宝贵时间。
问候,
豪尔赫。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这可能无法回答您的问题,但可能会有所帮助:如果您使用的 Octave 函数相对简单,您可以尝试使用线性代数包,例如 犰狳。这些文档包含从 Octave/MATLAB 到 C++ 的转换表。
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++.
检查您需要的功能是否在加速。框架,它嵌入了 BLAS 并针对每个平台进行了优化。
Check if the functions you need are in Accelerate.framework, it embeds BLAS and it's optimized for each platform.