Recommended objective-c Math libraries for working with Quaternions Matrices Vectors etc

不打扰是莪最后的温柔 提交于 2019-12-09 17:55:50

问题


I'm looking for a good Math library in objective-c that does your usual Matrix Vector and Quaternion tasks for use in conjunction with Core Animation. The library needs to be free for commercial use.

Thanks!


回答1:


Eigen is a lightweight C++ linear algebra package which provides could matrix, vector and quaternion support. While I have not used it in anger, it seems to have a much nicer interface than BLAS/LAPACK and supports a bunch of things those libraries don't




回答2:


Current versions of iOS include the Accelerate Framework, which includes a large set of accelerated matrix math routines (BLAS, LAPACK, etc.)

Added: You can also use any C math libraries/routines you might have, as Objective C is a compatible superset of ANSI C.




回答3:


I don't think you find ObjectiveC math library. I use vfpmathlibrary



来源:https://stackoverflow.com/questions/4938503/recommended-objective-c-math-libraries-for-working-with-quaternions-matrices-vec

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!