Recommended objective-c Math libraries for working

2019-04-08 02:03发布

问题:

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